Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 97.2 kB / 18.01 MB, free: 5.602 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.001644/0.001644, allocations: 177.6 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.62/1.62, allocations: 223.3 MB / 242.9 MB, free: 32 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2272/0.2272, allocations: 44.25 MB / 338.3 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003333, allocations: 16.17 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1534, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.00311/0.1565, allocations: 2.496 MB / 475.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1577, allocations: 0.6817 MB / 476.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.1579, allocations: 11.94 kB / 476.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.158, allocations: 31.7 kB / 476.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.1583, allocations: 115.1 kB / 476.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.1586, allocations: 83.86 kB / 476.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004464/0.159, allocations: 398 kB / 476.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.1593, allocations: 121.1 kB / 476.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.1595, allocations: 147.4 kB / 477 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.1597, allocations: 159.2 kB / 477.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.1598, allocations: 20 kB / 477.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.907e-05/0.1599, allocations: 24 kB / 477.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.1599, allocations: 63.64 kB / 477.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.1601, allocations: 208.8 kB / 477.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.1605, allocations: 307.4 kB / 477.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1605, allocations: 0 / 477.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1605, allocations: 0 / 477.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1605, allocations: 0 / 477.7 MB, free: 8.477 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001166/0.1617, allocations: 0.589 MB / 478.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.1618, allocations: 8.031 kB / 478.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.153e-05/0.1619, allocations: 40.47 kB / 478.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.1623, allocations: 280.4 kB / 478.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.1623, allocations: 29.38 kB / 478.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-05/0.1624, allocations: 40.38 kB / 478.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000756/0.1632, allocations: 398.5 kB / 479.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.1632, allocations: 11.84 kB / 479.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/0.1633, allocations: 16 kB / 479.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.1633, allocations: 12 kB / 479.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/0.1638, allocations: 223.7 kB / 479.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.1663, allocations: 1.734 MB / 481.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.1668, allocations: 270.2 kB / 481.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.167, allocations: 102.1 kB / 481.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.167, allocations: 4 kB / 481.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.1671, allocations: 42.5 kB / 481.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 3.317e-06/0.1671, allocations: 3.984 kB / 481.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007064/0.1678, allocations: 273 kB / 481.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.1679, allocations: 218 kB / 482 MB, free: 3.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.1682, allocations: 278.8 kB / 482.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1682, allocations: 25.7 kB / 482.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.1684, allocations: 239.3 kB / 482.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.708e-05/0.1685, allocations: 122.4 kB / 482.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.1686, allocations: 49.69 kB / 482.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1688, allocations: 350.7 kB / 483 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.169, allocations: 101.3 kB / 483.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.1694, allocations: 432.8 kB / 483.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006987/0.1702, allocations: 0.5742 MB / 484.1 MB, free: 1.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.1702, allocations: 4 kB / 484.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008432/0.171, allocations: 0.5293 MB / 484.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1711, allocations: 12 kB / 484.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.1711, allocations: 16.12 kB / 484.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.1711, allocations: 16 kB / 484.7 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.1716, allocations: 151.7 kB / 484.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/0.1716, allocations: 19.92 kB / 484.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.1719, allocations: 67.34 kB / 484.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.1719, allocations: 32 kB / 485 MB, free: 0.4961 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001878/0.1721, allocations: 185.5 kB / 485.1 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.1723, allocations: 27.72 kB / 485.2 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.897e-05/0.1724, allocations: 37.77 kB / 485.2 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.1724, allocations: 8 kB / 485.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1724, allocations: 0.5 kB / 485.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1724, allocations: 4 kB / 485.2 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.1736, allocations: 0.6591 MB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1737, allocations: 0 / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.1741, allocations: 95.88 kB / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.1741, allocations: 4 kB / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.1741, allocations: 8 kB / 486 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.1742, allocations: 11.88 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1742, allocations: 0 / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008674/0.175, allocations: 0.8414 MB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.681e-05/0.1751, allocations: 116.8 kB / 487 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.1752, allocations: 8 kB / 487 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.1755, allocations: 15.94 kB / 487 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/0.1756, allocations: 23.91 kB / 487 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1756, allocations: 12 kB / 487 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.1758, allocations: 186 kB / 487.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1758, allocations: 0 / 487.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007206/0.1766, allocations: 99.84 kB / 487.3 MB, free: 14.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001474/0.1767, allocations: 107.7 kB / 487.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005398/0.1773, allocations: 297.3 kB / 487.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1773, allocations: 0 / 487.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.1775, allocations: 97.14 kB / 487.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.1785, allocations: 81.44 kB / 487.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.1812, allocations: 1.959 MB / 489.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.1818, allocations: 0.7914 MB / 490.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.1818, allocations: 35.42 kB / 490.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of SimCode: time 2.454e-06/0.1819, allocations: 4 kB / 490.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of Templates: time 0.00687/0.1887, allocations: 4.047 MB / 494.7 MB, free: 6.559 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2CalcHelperMain.o] Error 1