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.00145/0.001451, allocations: 106.9 kB / 16.52 MB, free: 6.723 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.001494/0.001494, allocations: 192.4 kB / 17.44 MB, free: 6.055 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.878/1.878, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.2896/0.2896, allocations: 43.51 MB / 314.1 MB, free: 0.7617 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.001835/0.001836, allocations: 69.95 kB / 382.7 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1436, allocations: 57.79 MB / 440.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003579/0.1472, allocations: 2.281 MB / 442.7 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.1485, allocations: 0.7839 MB / 443.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.1487, allocations: 4 kB / 443.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.1489, allocations: 27.78 kB / 443.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.149, allocations: 67.53 kB / 443.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.1493, allocations: 107.8 kB / 443.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.1496, allocations: 311.3 kB / 444 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.1498, allocations: 81.22 kB / 444.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.15, allocations: 135.5 kB / 444.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.1501, allocations: 151.4 kB / 444.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.1502, allocations: 16 kB / 444.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.1503, allocations: 59.97 kB / 444.5 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.252e-05/0.1504, allocations: 59.8 kB / 444.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1505, allocations: 115.4 kB / 444.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.1508, allocations: 247.4 kB / 444.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1508, allocations: 3.938 kB / 444.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1508, allocations: 0 / 444.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1508, allocations: 0 / 444.9 MB, free: 3.066 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.0008237/0.1516, allocations: 0.5498 MB / 445.4 MB, free: 2.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1517, allocations: 12.03 kB / 445.4 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.1518, allocations: 24.66 kB / 445.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.152, allocations: 244.8 kB / 445.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.1521, allocations: 16.81 kB / 445.7 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/0.1522, allocations: 28.28 kB / 445.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.1527, allocations: 263.4 kB / 446 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.1527, allocations: 0 / 446 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.1527, allocations: 16 kB / 446 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.1527, allocations: 7.984 kB / 446 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004374/0.1532, allocations: 237.6 kB / 446.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.1544, allocations: 0.7245 MB / 447 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.1549, allocations: 246.4 kB / 447.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.1551, allocations: 140.4 kB / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.1552, allocations: 4 kB / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1552, allocations: 42.48 kB / 447.4 MB, free: 388 kB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.252e-06/0.1552, allocations: 0 / 447.4 MB, free: 388 kB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.00311/0.1583, allocations: 1.45 MB / 448.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.1584, allocations: 55.41 kB / 448.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.1586, allocations: 202.3 kB / 449.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.1587, allocations: 33.7 kB / 449.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1588, allocations: 140.6 kB / 449.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.1589, allocations: 110.5 kB / 449.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.159, allocations: 65.69 kB / 449.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1592, allocations: 334.8 kB / 449.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.1595, allocations: 123.7 kB / 449.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.1598, allocations: 167.3 kB / 450.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.1603, allocations: 259.1 kB / 450.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1603, allocations: 4 kB / 450.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008543/0.1612, allocations: 433.7 kB / 450.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.1612, allocations: 8 kB / 450.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.1612, allocations: 7.922 kB / 450.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/0.1618, allocations: 236.7 kB / 451 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.1621, allocations: 59.97 kB / 451.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008862/0.163, allocations: 0.7591 MB / 451.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.1632, allocations: 39.98 kB / 451.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.1633, allocations: 8 kB / 451.9 MB, free: 11.7 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.0002133/0.1635, allocations: 158 kB / 452 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/0.1636, allocations: 23.72 kB / 452 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.959e-05/0.1637, allocations: 42.58 kB / 452.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1637, allocations: 4 kB / 452.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.1637, allocations: 0 / 452.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1637, allocations: 0 / 452.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.1655, allocations: 0.9519 MB / 453 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1655, allocations: 0 / 453 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.1658, allocations: 43.97 kB / 453.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004194/0.1662, allocations: 224.6 kB / 453.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.1662, allocations: 8 kB / 453.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007327/0.167, allocations: 0.7124 MB / 454 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.167, allocations: 0 / 454 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.1681, allocations: 0.6334 MB / 454.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.1683, allocations: 128.8 kB / 454.8 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.1683, allocations: 19.88 kB / 454.8 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.1686, allocations: 32.03 kB / 454.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.1687, allocations: 55.88 kB / 454.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.1688, allocations: 12 kB / 454.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1689, allocations: 144.2 kB / 455 MB, free: 8.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1689, allocations: 0 / 455 MB, free: 8.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003741/0.1693, allocations: 79.98 kB / 455.1 MB, free: 8.305 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.0002173/0.1695, allocations: 115.2 kB / 455.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008239/0.1704, allocations: 331.5 kB / 455.5 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1704, allocations: 0 / 455.5 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.1707, allocations: 155.9 kB / 455.7 MB, free: 7.707 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.1711, allocations: 36.02 kB / 455.7 MB, free: 7.672 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.1731, allocations: 0.8741 MB / 456.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.1735, allocations: 0.7525 MB / 457.4 MB, free: 5.984 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.1736, allocations: 23.44 kB / 457.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1736, allocations: 0 / 457.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of Templates: time 0.006957/0.1806, allocations: 4.091 MB / 461.5 MB, free: 1.871 MB / 334.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