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.001441/0.001441, allocations: 96.75 kB / 17.63 MB, free: 5.719 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.002282/0.002282, allocations: 179.5 kB / 18.52 MB, free: 5.172 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.794/1.794, allocations: 223.2 MB / 242.5 MB, free: 272 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.2335/0.2335, allocations: 44.22 MB / 337.9 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 8 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.152, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.00321/0.1553, allocations: 2.393 MB / 474.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.1566, allocations: 0.6625 MB / 475.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.1567, allocations: 4 kB / 475.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.1569, allocations: 47.62 kB / 475.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.1571, allocations: 99.16 kB / 475.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1574, allocations: 71.92 kB / 475.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.1579, allocations: 406 kB / 475.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.1581, allocations: 104.2 kB / 475.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.1583, allocations: 147.4 kB / 476.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1585, allocations: 155.2 kB / 476.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.1586, allocations: 20 kB / 476.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.802e-05/0.1587, allocations: 20 kB / 476.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.1587, allocations: 59.77 kB / 476.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.967e-05/0.1588, allocations: 101.5 kB / 476.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.1591, allocations: 311.3 kB / 476.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.1591, allocations: 0 / 476.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1592, allocations: 0 / 476.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1592, allocations: 0 / 476.7 MB, free: 9.145 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.000895/0.1601, allocations: 0.5926 MB / 477.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1601, allocations: 8.031 kB / 477.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.435e-05/0.1602, allocations: 39.53 kB / 477.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.1605, allocations: 271.3 kB / 477.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.1606, allocations: 29 kB / 477.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.606e-05/0.1606, allocations: 39.91 kB / 477.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006401/0.1613, allocations: 394.1 kB / 478.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.1613, allocations: 11.91 kB / 478.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.1614, allocations: 12 kB / 478.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.1614, allocations: 8 kB / 478.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.1618, allocations: 234 kB / 478.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.1642, allocations: 1.731 MB / 480.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.1646, allocations: 258.4 kB / 480.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.1648, allocations: 94.08 kB / 480.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.1648, allocations: 11.94 kB / 480.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1649, allocations: 46.53 kB / 480.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.515e-06/0.1649, allocations: 0 / 480.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006928/0.1656, allocations: 281.2 kB / 480.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.1657, allocations: 209.6 kB / 481 MB, free: 4.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.166, allocations: 270.9 kB / 481.2 MB, free: 4.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.166, allocations: 37.8 kB / 481.3 MB, free: 4.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.1662, allocations: 235.2 kB / 481.5 MB, free: 3.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.1663, allocations: 122.4 kB / 481.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.1663, allocations: 12 kB / 481.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1665, allocations: 342.8 kB / 482 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.1667, allocations: 105.2 kB / 482.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/0.1672, allocations: 436.8 kB / 482.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.1675, allocations: 163.9 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.1675, allocations: 4 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008506/0.1684, allocations: 0.528 MB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.1684, allocations: 12.88 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.1684, allocations: 12 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/0.1685, allocations: 23.95 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/0.1689, allocations: 147.8 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/0.1689, allocations: 19.92 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.1692, allocations: 67.94 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.1693, allocations: 32 kB / 483.5 MB, free: 1.812 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.1695, allocations: 178 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.1696, allocations: 35.62 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.859e-05/0.1697, allocations: 33.78 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1697, allocations: 12.52 kB / 483.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.1698, allocations: 7.938 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1698, allocations: 4 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.171, allocations: 0.6475 MB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1711, allocations: 4.062 kB / 484.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004325/0.1715, allocations: 91.89 kB / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.1715, allocations: 7.953 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.1716, allocations: 8 kB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.1716, allocations: 7.984 kB / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1716, allocations: 3.984 kB / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008212/0.1724, allocations: 0.8417 MB / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.152e-05/0.1725, allocations: 108.9 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.1726, allocations: 15.95 kB / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.1729, allocations: 8 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.173, allocations: 23.97 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.173, allocations: 19.92 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.1732, allocations: 178 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1732, allocations: 0 / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007017/0.1739, allocations: 103.8 kB / 485.8 MB, free: 15.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000143/0.174, allocations: 107.2 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005339/0.1746, allocations: 293.7 kB / 486.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1746, allocations: 3.938 kB / 486.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.1747, allocations: 91.83 kB / 486.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009738/0.1757, allocations: 72.83 kB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.1784, allocations: 1.916 MB / 488.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.1789, allocations: 0.7994 MB / 489.1 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/0.179, allocations: 31.44 kB / 489.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.179, allocations: 0 / 489.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of Templates: time 0.006857/0.1859, allocations: 4.045 MB / 493.2 MB, free: 7.934 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++ 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_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