Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007998/0.0008001, allocations: 93.23 kB / 16.33 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009212/0.0009213, allocations: 180.5 kB / 17.22 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.4 MB / 223.4 MB, free: 5.227 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4116/0.4116, allocations: 43.54 MB / 315.2 MB, free: 8.992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005482/0.0005482, allocations: 15.98 kB / 384.5 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1393, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002726/0.1421, allocations: 1.879 MB / 445.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1433, allocations: 0.7337 MB / 446 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.1435, allocations: 4 kB / 446 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.1436, allocations: 31.78 kB / 446.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.1438, allocations: 55.55 kB / 446.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.1441, allocations: 99.81 kB / 446.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.1444, allocations: 295.3 kB / 446.5 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1446, allocations: 68.64 kB / 446.6 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.1448, allocations: 123.5 kB / 446.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.1451, allocations: 135.5 kB / 446.8 MB, free: 9.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.1451, allocations: 16 kB / 446.8 MB, free: 9.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1452, allocations: 51.97 kB / 446.9 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.1453, allocations: 55.8 kB / 446.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.1454, allocations: 65.58 kB / 447 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.1456, allocations: 235.7 kB / 447.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1457, allocations: 0 / 447.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.04e-06/0.1457, allocations: 4 kB / 447.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.1457, allocations: 3.938 kB / 447.2 MB, free: 9.188 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008061/0.1465, allocations: 0.5261 MB / 447.8 MB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1465, allocations: 12.03 kB / 447.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.1466, allocations: 23.72 kB / 447.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.1469, allocations: 234.7 kB / 448 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.1469, allocations: 20.44 kB / 448 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.147, allocations: 23.98 kB / 448.1 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.1475, allocations: 267.1 kB / 448.3 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1475, allocations: 3.906 kB / 448.3 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.1475, allocations: 12 kB / 448.3 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.1476, allocations: 7.953 kB / 448.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.148, allocations: 237.6 kB / 448.6 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.1493, allocations: 0.7518 MB / 449.3 MB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.1498, allocations: 242.5 kB / 449.6 MB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.15, allocations: 144.8 kB / 449.7 MB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1501, allocations: 4 kB / 449.7 MB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1501, allocations: 34.56 kB / 449.8 MB, free: 6.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.575e-06/0.1501, allocations: 0 / 449.8 MB, free: 6.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.002983/0.1531, allocations: 1.519 MB / 451.3 MB, free: 4.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.1531, allocations: 55.41 kB / 451.3 MB, free: 4.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.1533, allocations: 198.6 kB / 451.5 MB, free: 4.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.1534, allocations: 29.7 kB / 451.5 MB, free: 4.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.1535, allocations: 136.6 kB / 451.7 MB, free: 4.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.825e-05/0.1536, allocations: 118.4 kB / 451.8 MB, free: 4.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.1536, allocations: 4 kB / 451.8 MB, free: 4.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1538, allocations: 330.8 kB / 452.1 MB, free: 3.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.154, allocations: 127.9 kB / 452.2 MB, free: 3.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.1543, allocations: 171.1 kB / 452.4 MB, free: 3.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.1545, allocations: 119.8 kB / 452.5 MB, free: 3.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1545, allocations: 3.984 kB / 452.5 MB, free: 3.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000789/0.1553, allocations: 441.9 kB / 453 MB, free: 3.109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1553, allocations: 4 kB / 453 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1554, allocations: 4.062 kB / 453 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/0.1559, allocations: 240.7 kB / 453.2 MB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.1561, allocations: 59.84 kB / 453.3 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000738/0.1568, allocations: 0.7514 MB / 454 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.1571, allocations: 52.02 kB / 454.1 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.1571, allocations: 15.98 kB / 454.1 MB, free: 1.961 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.1573, allocations: 142.1 kB / 454.2 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.1573, allocations: 23.72 kB / 454.2 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.183e-05/0.1574, allocations: 38.64 kB / 454.3 MB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1574, allocations: 4 kB / 454.3 MB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.1574, allocations: 7.891 kB / 454.3 MB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1574, allocations: 0 / 454.3 MB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.1589, allocations: 0.9442 MB / 455.2 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1589, allocations: 0 / 455.2 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.1591, allocations: 51.91 kB / 455.3 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003614/0.1595, allocations: 220.6 kB / 455.5 MB, free: 468 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.1595, allocations: 12 kB / 455.5 MB, free: 456 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2401/0.3997, allocations: 0.7017 MB / 456.2 MB, free: 46.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.3997, allocations: 4.812 kB / 456.2 MB, free: 46.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.4009, allocations: 0.6541 MB / 456.9 MB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.401, allocations: 125.8 kB / 457 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.4011, allocations: 10.66 kB / 457 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.4013, allocations: 47.66 kB / 457.1 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.4015, allocations: 56.66 kB / 457.1 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.4015, allocations: 15.05 kB / 457.1 MB, free: 45.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.4016, allocations: 139.2 kB / 457.3 MB, free: 45.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4016, allocations: 0 / 457.3 MB, free: 45.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003791/0.402, allocations: 83.88 kB / 457.3 MB, free: 45.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001865/0.4022, allocations: 125.2 kB / 457.5 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006377/0.4028, allocations: 312.3 kB / 457.8 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4028, allocations: 3.938 kB / 457.8 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.4031, allocations: 169.6 kB / 457.9 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.4036, allocations: 31.98 kB / 458 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.4052, allocations: 0.9652 MB / 458.9 MB, free: 45.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.4055, allocations: 0.7483 MB / 459.7 MB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.4055, allocations: 25.27 kB / 459.7 MB, free: 44.52 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4055, allocations: 0 / 459.7 MB, free: 44.52 MB / 382.1 MB Notification: Performance of Templates: time 0.005555/0.4111, allocations: 4.064 MB / 463.8 MB, free: 44.24 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1CalcHelperMain.o] Error 1