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.001171/0.001171, allocations: 90.95 kB / 16.67 MB, free: 6.586 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.001478/0.001478, allocations: 182.1 kB / 17.58 MB, free: 6.191 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.943/1.943, allocations: 205.4 MB / 223.7 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2789/0.2789, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 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.0005631/0.0005631, allocations: 15.97 kB / 385.2 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1445, allocations: 58.86 MB / 444.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002284/0.1469, allocations: 1.938 MB / 446 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1481, allocations: 0.7606 MB / 446.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1482, allocations: 4 kB / 446.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.1484, allocations: 31.78 kB / 446.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.1485, allocations: 59.53 kB / 446.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.1488, allocations: 103.9 kB / 447 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.1491, allocations: 315.3 kB / 447.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.1493, allocations: 76.94 kB / 447.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.1495, allocations: 131.5 kB / 447.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.1497, allocations: 143.5 kB / 447.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.1497, allocations: 12 kB / 447.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1499, allocations: 63.89 kB / 447.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.717e-05/0.15, allocations: 55.73 kB / 447.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.1501, allocations: 145.1 kB / 447.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.1503, allocations: 235.4 kB / 448.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1503, allocations: 0 / 448.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1503, allocations: 0 / 448.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1503, allocations: 0 / 448.1 MB, free: 1.078 MB / 318.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.0007915/0.1511, allocations: 0.5148 MB / 448.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1512, allocations: 8.031 kB / 448.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.1512, allocations: 28.66 kB / 448.7 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.1515, allocations: 248.7 kB / 448.9 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.1515, allocations: 16.81 kB / 448.9 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.1516, allocations: 24.36 kB / 449 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.1521, allocations: 267.5 kB / 449.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1521, allocations: 3.906 kB / 449.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.1522, allocations: 12 kB / 449.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1522, allocations: 4 kB / 449.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.1527, allocations: 245.5 kB / 449.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.1541, allocations: 0.7364 MB / 450.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/0.1547, allocations: 262.2 kB / 450.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.1549, allocations: 144.2 kB / 450.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.155, allocations: 4 kB / 450.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.155, allocations: 38.56 kB / 450.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.353e-06/0.155, allocations: 0 / 450.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.003891/0.1589, allocations: 1.508 MB / 452.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.159, allocations: 55.41 kB / 452.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.1592, allocations: 202.3 kB / 452.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.1592, allocations: 33.7 kB / 452.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1593, allocations: 136.6 kB / 452.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/0.1594, allocations: 114.4 kB / 452.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/0.1595, allocations: 37.7 kB / 452.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1597, allocations: 330.8 kB / 453.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.1599, allocations: 123.9 kB / 453.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.1602, allocations: 167.1 kB / 453.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/0.1606, allocations: 267.1 kB / 453.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1607, allocations: 0 / 453.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008659/0.1615, allocations: 441.8 kB / 454 MB, free: 10.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1616, allocations: 4 kB / 454 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1616, allocations: 0 / 454 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/0.1621, allocations: 236.7 kB / 454.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.1624, allocations: 51.91 kB / 454.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.1635, allocations: 0.7553 MB / 455.1 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.1638, allocations: 52.09 kB / 455.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.1638, allocations: 15.98 kB / 455.1 MB, free: 9.68 MB / 334.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,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.164, allocations: 158 kB / 455.3 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.1641, allocations: 23.72 kB / 455.3 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.4e-05/0.1642, allocations: 42.58 kB / 455.4 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1642, allocations: 4 kB / 455.4 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1642, allocations: 3.938 kB / 455.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1642, allocations: 0 / 455.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.1658, allocations: 0.9519 MB / 456.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1658, allocations: 0 / 456.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.166, allocations: 51.91 kB / 456.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003821/0.1664, allocations: 216.7 kB / 456.6 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.1665, allocations: 11.98 kB / 456.6 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000831/0.1673, allocations: 0.72 MB / 457.3 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.1673, allocations: 0 / 457.3 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.1685, allocations: 0.6489 MB / 458 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.1686, allocations: 124.8 kB / 458.1 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.1687, allocations: 11.94 kB / 458.1 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.1689, allocations: 52.02 kB / 458.2 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.1691, allocations: 47.91 kB / 458.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.1691, allocations: 15.98 kB / 458.2 MB, free: 6.465 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1692, allocations: 148.2 kB / 458.4 MB, free: 6.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1693, allocations: 0 / 458.4 MB, free: 6.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.1696, allocations: 80 kB / 458.4 MB, free: 6.242 MB / 334.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001863/0.1698, allocations: 119.2 kB / 458.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006821/0.1705, allocations: 323.7 kB / 458.9 MB, free: 5.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1705, allocations: 4.125 kB / 458.9 MB, free: 5.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.1709, allocations: 163.8 kB / 459 MB, free: 5.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.1713, allocations: 27.98 kB / 459.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.1734, allocations: 0.9998 MB / 460.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.1738, allocations: 0.7486 MB / 460.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.1738, allocations: 27.42 kB / 460.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1739, allocations: 0 / 460.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of Templates: time 0.006646/0.1805, allocations: 4.05 MB / 464.9 MB, free: 15.72 MB / 350.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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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