Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.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.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009268/0.0009269, allocations: 88.95 kB / 17.63 MB, free: 6.156 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.001113/0.001114, allocations: 178.8 kB / 18.52 MB, free: 5.32 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.471/1.471, allocations: 223.2 MB / 242.5 MB, free: 328 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.2429/0.2429, allocations: 44.23 MB / 337.9 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004119, allocations: 12 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.159, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.4399/0.599, allocations: 78.4 MB / 0.5377 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04995/0.649, allocations: 15.86 MB / 0.5532 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02488/0.6739, allocations: 363.4 kB / 0.5535 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01795/0.6919, allocations: 4.138 MB / 0.5576 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04322/0.7351, allocations: 11.97 MB / 0.5692 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007217/0.7424, allocations: 1.081 MB / 0.5703 GB, free: 184 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01386/0.7563, allocations: 7.768 MB / 0.5779 GB, free: 8.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01413/0.7704, allocations: 8.427 MB / 0.5861 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005827/0.7763, allocations: 2.043 MB / 0.5881 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006746/0.7831, allocations: 3.353 MB / 0.5914 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001513/0.7846, allocations: 256 kB / 0.5916 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/0.7877, allocations: 0.8817 MB / 0.5925 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004326/0.7921, allocations: 2.883 MB / 0.5953 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003013/0.7951, allocations: 1.345 MB / 0.5966 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.8089, allocations: 8.814 MB / 0.6052 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.8089, allocations: 0 / 0.6052 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.809, allocations: 0 / 0.6052 GB, free: 12.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005607/0.8095, allocations: 7.938 kB / 0.6052 GB, free: 12.28 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.02066/0.8302, allocations: 6.489 MB / 0.6116 GB, free: 5.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.8303, allocations: 11.97 kB / 0.6116 GB, free: 5.688 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.8412, allocations: 2.712 MB / 0.6142 GB, free: 2.961 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009371/0.8506, allocations: 3.627 MB / 0.6178 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004046/0.851, allocations: 439.1 kB / 0.6182 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001663/0.8527, allocations: 0.5622 MB / 0.6187 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0478/0.9005, allocations: 20.33 MB / 0.6386 GB, free: 8.793 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000266/0.9008, allocations: 75.31 kB / 0.6387 GB, free: 8.719 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009804/0.9018, allocations: 271.8 kB / 0.6389 GB, free: 8.453 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005396/0.9072, allocations: 3.345 MB / 0.6422 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03816/0.9454, allocations: 16.35 MB / 0.6582 GB, free: 4.727 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7311/1.677, allocations: 65.35 MB / 0.722 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0196/1.696, allocations: 6.392 MB / 0.7282 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004277/1.701, allocations: 2.095 MB / 0.7303 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01826/1.719, allocations: 9.173 MB / 0.7392 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01226/1.731, allocations: 4.193 MB / 0.7433 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=260): time 5.39e-06/1.731, allocations: 0 / 0.7433 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=294): time 0.0533/1.785, allocations: 21.61 MB / 0.7644 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/1.785, allocations: 166 kB / 0.7646 GB, free: 127.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007928/1.793, allocations: 5.819 MB / 0.7703 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006532/1.793, allocations: 81.55 kB / 0.7703 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004258/1.798, allocations: 5.057 MB / 0.7753 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001528/1.799, allocations: 1.133 MB / 0.7764 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/1.799, allocations: 188.9 kB / 0.7766 GB, free: 115.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004093/1.8, allocations: 0.6949 MB / 0.7772 GB, free: 114.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004282/1.804, allocations: 2.636 MB / 0.7798 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007185/1.811, allocations: 8.26 MB / 0.7879 GB, free: 101 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006585/1.818, allocations: 4.543 MB / 0.7923 GB, free: 96.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001423/1.818, allocations: 60 kB / 0.7924 GB, free: 96.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.01909/1.837, allocations: 10.63 MB / 0.8028 GB, free: 86.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002908/1.838, allocations: 117.7 kB / 0.8029 GB, free: 85.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000372/1.838, allocations: 196 kB / 0.8031 GB, free: 85.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/1.838, allocations: 292 kB / 0.8033 GB, free: 85.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007046/1.845, allocations: 2.235 MB / 0.8055 GB, free: 83.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002575/1.845, allocations: 394.5 kB / 0.8059 GB, free: 82.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006836/1.852, allocations: 472.2 kB / 0.8063 GB, free: 82.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/1.854, allocations: 0.549 MB / 0.8069 GB, free: 81.86 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 83 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1196): * Single equations (assignments): 1192 * Array equations: 3 * Algorithm blocks: 1 * 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.007281/1.861, allocations: 3.246 MB / 0.81 GB, free: 78.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001433/1.862, allocations: 0.5167 MB / 0.8106 GB, free: 78.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007133/1.87, allocations: 3.045 MB / 0.8135 GB, free: 75.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.703e-05/1.87, allocations: 32 kB / 0.8136 GB, free: 74.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.637e-05/1.87, allocations: 2.625 kB / 0.8136 GB, free: 74.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.594e-05/1.87, allocations: 23.91 kB / 0.8136 GB, free: 74.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0234/1.893, allocations: 12.48 MB / 0.8258 GB, free: 61.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.983e-05/1.893, allocations: 39.92 kB / 0.8258 GB, free: 61.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/1.895, allocations: 0.5967 MB / 0.8264 GB, free: 61.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-05/1.895, allocations: 48 kB / 0.8264 GB, free: 61.31 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/1.895, allocations: 95.98 kB / 0.8265 GB, free: 61.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.061e-05/1.895, allocations: 63.78 kB / 0.8266 GB, free: 61.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.457e-05/1.896, allocations: 51.75 kB / 0.8266 GB, free: 61.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006949/1.902, allocations: 5.452 MB / 0.832 GB, free: 55.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/1.904, allocations: 0.5917 MB / 0.8325 GB, free: 54.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000556/1.905, allocations: 95.97 kB / 0.8326 GB, free: 54.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/1.907, allocations: 158.9 kB / 0.8328 GB, free: 54.24 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/1.907, allocations: 280 kB / 0.8331 GB, free: 53.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/1.907, allocations: 124 kB / 0.8332 GB, free: 53.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005836/1.913, allocations: 3.607 MB / 0.8367 GB, free: 50.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.21e-07/1.913, allocations: 0 / 0.8367 GB, free: 50.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008871/1.922, allocations: 1.472 MB / 0.8381 GB, free: 48.77 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005533/1.923, allocations: 265.6 kB / 0.8384 GB, free: 48.51 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009802/1.932, allocations: 6.065 MB / 0.8443 GB, free: 42.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.671e-05/1.932, allocations: 8.562 kB / 0.8443 GB, free: 42.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002463/1.935, allocations: 1.529 MB / 0.8458 GB, free: 40.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004871/1.94, allocations: 0.7702 MB / 0.8466 GB, free: 40.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/1.968, allocations: 18.27 MB / 0.8644 GB, free: 21.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005666/1.974, allocations: 4.883 MB / 0.8692 GB, free: 16.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/1.975, allocations: 447.4 kB / 0.8696 GB, free: 16.09 MB / 0.5294 GB Notification: Performance of SimCode: time 1.883e-06/1.975, allocations: 8 kB / 0.8696 GB, free: 16.08 MB / 0.5294 GB Notification: Performance of Templates: time 0.4432/2.418, allocations: 84.59 MB / 0.9522 GB, free: 214.4 MB / 0.5763 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.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.MultiBody.Forces.Damper2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2CalcHelperMain.o] Error 1