Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.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) 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(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.002178/0.002177, allocations: 194 kB / 18.72 MB, free: 4.762 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.764/1.764, allocations: 205.1 MB / 224.6 MB, free: 12.4 MB / 190.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.001335/0.001335, allocations: 47.94 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1531, allocations: 46.63 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.005566/0.1587, allocations: 2.3 MB / 329.5 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006025/0.1594, allocations: 191.3 kB / 329.7 MB, free: 2.391 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1596, allocations: 4 kB / 329.7 MB, free: 2.387 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.1597, allocations: 31.77 kB / 329.8 MB, free: 2.355 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.1601, allocations: 47.61 kB / 329.8 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.1603, allocations: 43.95 kB / 329.9 MB, free: 2.266 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.1606, allocations: 234.9 kB / 330.1 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.161, allocations: 87.25 kB / 330.2 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.1611, allocations: 83.72 kB / 330.2 MB, free: 1.867 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.1613, allocations: 95.55 kB / 330.3 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.1614, allocations: 16 kB / 330.4 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.311e-05/0.1614, allocations: 16 kB / 330.4 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.1615, allocations: 43.84 kB / 330.4 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.1616, allocations: 111.5 kB / 330.5 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.1619, allocations: 199.7 kB / 330.7 MB, free: 1.395 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1619, allocations: 0 / 330.7 MB, free: 1.395 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1619, allocations: 0 / 330.7 MB, free: 1.395 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.162, allocations: 0 / 330.7 MB, free: 1.395 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001095/0.1631, allocations: 0.4993 MB / 331.2 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/0.1631, allocations: 8.031 kB / 331.2 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.206e-05/0.1632, allocations: 32.66 kB / 331.3 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.1636, allocations: 223.9 kB / 331.5 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.1636, allocations: 20.94 kB / 331.5 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.1637, allocations: 20.38 kB / 331.5 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.1642, allocations: 232.8 kB / 331.7 MB, free: 268 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.1642, allocations: 4.188 kB / 331.7 MB, free: 264 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.1642, allocations: 11.94 kB / 331.8 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.1642, allocations: 8 kB / 331.8 MB, free: 244 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.1645, allocations: 131.8 kB / 331.9 MB, free: 112 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.166, allocations: 0.8633 MB / 332.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.1662, allocations: 159.8 kB / 332.9 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.1664, allocations: 70.5 kB / 333 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.1664, allocations: 3.984 kB / 333 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/0.1665, allocations: 42.5 kB / 333 MB, free: 14.87 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.1665, allocations: 0 / 333 MB, free: 14.87 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004409/0.1669, allocations: 165.5 kB / 333.2 MB, free: 14.7 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.347e-05/0.167, allocations: 106.8 kB / 333.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.1673, allocations: 202.6 kB / 333.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1673, allocations: 25.7 kB / 333.5 MB, free: 14.33 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.1674, allocations: 163.8 kB / 333.7 MB, free: 14.17 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.906e-05/0.1675, allocations: 59.11 kB / 333.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.1676, allocations: 53.98 kB / 333.8 MB, free: 14.05 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.1678, allocations: 330.8 kB / 334.1 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.63e-05/0.1679, allocations: 40.55 kB / 334.2 MB, free: 13.68 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.1681, allocations: 162.7 kB / 334.3 MB, free: 13.47 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.1684, allocations: 217.5 kB / 334.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/0.1684, allocations: 4 kB / 334.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003642/0.1688, allocations: 249.7 kB / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1688, allocations: 11.94 kB / 334.8 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1688, allocations: 4 kB / 334.8 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.1689, allocations: 7.938 kB / 334.8 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.1691, allocations: 63.91 kB / 334.9 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.1691, allocations: 7.938 kB / 334.9 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.1692, allocations: 28.19 kB / 334.9 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.1693, allocations: 12 kB / 334.9 MB, free: 12.82 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001406/0.1694, allocations: 141.7 kB / 335 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.1695, allocations: 23.73 kB / 335.1 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.463e-05/0.1695, allocations: 21.41 kB / 335.1 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1696, allocations: 4 kB / 335.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1696, allocations: 0 / 335.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1696, allocations: 0 / 335.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006766/0.1703, allocations: 436.8 kB / 335.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1703, allocations: 3.938 kB / 335.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.1706, allocations: 39.92 kB / 335.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1706, allocations: 0 / 335.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.1706, allocations: 8 kB / 335.6 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1706, allocations: 0 / 335.6 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.1706, allocations: 8 kB / 335.6 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005278/0.1711, allocations: 377 kB / 335.9 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.918e-05/0.1712, allocations: 92.92 kB / 336 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.1713, allocations: 4 kB / 336 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.1714, allocations: 4 kB / 336 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.1715, allocations: 19.97 kB / 336.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.1715, allocations: 4 kB / 336.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.1716, allocations: 148.3 kB / 336.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1716, allocations: 0 / 336.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003766/0.172, allocations: 51.84 kB / 336.3 MB, free: 11.34 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * 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 (17): * Single equations (assignments): 17 * 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.0001536/0.1722, allocations: 103.2 kB / 336.4 MB, free: 11.23 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.1725, allocations: 147.4 kB / 336.5 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1725, allocations: 0 / 336.5 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.569e-05/0.1726, allocations: 47.92 kB / 336.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.1733, allocations: 35.92 kB / 336.6 MB, free: 11.01 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.1747, allocations: 0.6929 MB / 337.3 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006347/0.1754, allocations: 0.7401 MB / 338 MB, free: 9.508 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/0.1755, allocations: 19.44 kB / 338 MB, free: 9.488 MB / 286.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1755, allocations: 0 / 338 MB, free: 9.488 MB / 286.1 MB Notification: Performance of Templates: time 0.005361/0.1808, allocations: 2.269 MB / 340.3 MB, free: 7.215 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.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 OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrowsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrowsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrowsCalcHelperMain.o] Error 1