Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.00139/0.00139, allocations: 108.3 kB / 16.52 MB, free: 6.266 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.001467/0.001467, allocations: 193.3 kB / 17.44 MB, free: 5.887 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.847/1.847, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2663/0.2663, 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.001567/0.001567, allocations: 72.06 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1656, allocations: 57.8 MB / 440.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.08757/0.2532, allocations: 87.59 MB / 0.5157 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4611/0.7144, allocations: 16.78 MB / 0.5321 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02558/0.74, allocations: 372.7 kB / 0.5324 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01153/0.7516, allocations: 5.232 MB / 0.5375 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.7618, allocations: 2.579 MB / 0.5401 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003678/0.7655, allocations: 1.102 MB / 0.5411 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01783/0.7833, allocations: 10.3 MB / 0.5512 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01114/0.7945, allocations: 6.556 MB / 0.5576 GB, free: 164 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008006/0.8025, allocations: 2.565 MB / 0.5601 GB, free: 0 / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009239/0.8118, allocations: 4.308 MB / 0.5643 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002713/0.8146, allocations: 485.7 kB / 0.5648 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004736/0.8193, allocations: 1.219 MB / 0.566 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005681/0.825, allocations: 3.416 MB / 0.5693 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009923/0.835, allocations: 3.889 MB / 0.5731 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01651/0.8515, allocations: 9.598 MB / 0.5825 GB, free: 4.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.8515, allocations: 0 / 0.5825 GB, free: 4.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.8516, allocations: 0 / 0.5825 GB, free: 4.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005437/0.8521, allocations: 0 / 0.5825 GB, free: 4.93 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.02082/0.8729, allocations: 8.286 MB / 0.5906 GB, free: 12.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.873, allocations: 10.56 kB / 0.5906 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.8835, allocations: 2.723 MB / 0.5932 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009794/0.8934, allocations: 3.954 MB / 0.5971 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003737/0.8938, allocations: 469.9 kB / 0.5975 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00171/0.8955, allocations: 0.5927 MB / 0.5981 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04935/0.9449, allocations: 21.25 MB / 0.6189 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002764/0.9452, allocations: 72.7 kB / 0.6189 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001547/0.9467, allocations: 285.6 kB / 0.6192 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006057/0.9528, allocations: 3.551 MB / 0.6227 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04475/0.9976, allocations: 17.25 MB / 0.6395 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1141/1.112, allocations: 67.91 MB / 0.7059 GB, free: 5.871 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01855/1.13, allocations: 6.741 MB / 0.7124 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004086/1.134, allocations: 2.322 MB / 0.7147 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01812/1.153, allocations: 9.832 MB / 0.7243 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01397/1.167, allocations: 4.383 MB / 0.7286 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=299): time 5.029e-06/1.167, allocations: 3.938 kB / 0.7286 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=333): time 0.6308/1.797, allocations: 22.98 MB / 0.751 GB, free: 242.8 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/1.798, allocations: 164.3 kB / 0.7512 GB, free: 242.7 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01738/1.815, allocations: 6.047 MB / 0.7571 GB, free: 241 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009365/1.816, allocations: 78.66 kB / 0.7572 GB, free: 241 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.007158/1.823, allocations: 5.298 MB / 0.7623 GB, free: 237 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002353/1.825, allocations: 1.269 MB / 0.7636 GB, free: 236.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005253/1.831, allocations: 1.94 MB / 0.7655 GB, free: 235.1 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.831, allocations: 308.9 kB / 0.7658 GB, free: 234.8 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006601/1.837, allocations: 2.893 MB / 0.7686 GB, free: 233.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01131/1.849, allocations: 8.71 MB / 0.7771 GB, free: 225.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/1.867, allocations: 12.61 MB / 0.7894 GB, free: 214.2 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002795/1.867, allocations: 58.66 kB / 0.7895 GB, free: 214.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02757/1.895, allocations: 11.37 MB / 0.8006 GB, free: 207.9 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005202/1.895, allocations: 117.7 kB / 0.8007 GB, free: 207.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006751/1.896, allocations: 212.1 kB / 0.8009 GB, free: 207.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005602/1.896, allocations: 274.3 kB / 0.8012 GB, free: 207.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008959/1.905, allocations: 2.366 MB / 0.8035 GB, free: 205.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005319/1.906, allocations: 409.1 kB / 0.8039 GB, free: 204.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/1.916, allocations: 498.2 kB / 0.8043 GB, free: 204.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002521/1.919, allocations: 0.5703 MB / 0.8049 GB, free: 203.8 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 77 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1271): * Single equations (assignments): 1267 * Array equations: 3 * Algorithm blocks: 1 * 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.01066/1.929, allocations: 3.405 MB / 0.8082 GB, free: 200.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002465/1.932, allocations: 0.547 MB / 0.8087 GB, free: 200.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/1.943, allocations: 3.521 MB / 0.8122 GB, free: 196.7 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-05/1.943, allocations: 32 kB / 0.8122 GB, free: 196.6 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.189e-05/1.943, allocations: 8.688 kB / 0.8122 GB, free: 196.6 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-05/1.943, allocations: 15.94 kB / 0.8122 GB, free: 196.6 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03827/1.981, allocations: 13.76 MB / 0.8257 GB, free: 182.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001987/1.981, allocations: 32 kB / 0.8257 GB, free: 182.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002791/1.984, allocations: 0.6592 MB / 0.8264 GB, free: 181.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.101e-05/1.984, allocations: 48 kB / 0.8264 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00047/1.985, allocations: 104 kB / 0.8265 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.955e-05/1.985, allocations: 67.73 kB / 0.8266 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.45e-05/1.985, allocations: 59.69 kB / 0.8266 GB, free: 181.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/1.996, allocations: 6.202 MB / 0.8327 GB, free: 174.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004538/2.001, allocations: 0.8413 MB / 0.8335 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00251/2.003, allocations: 102.9 kB / 0.8336 GB, free: 173.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004124/2.007, allocations: 159.9 kB / 0.8337 GB, free: 173.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006122/2.008, allocations: 308.1 kB / 0.834 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003235/2.008, allocations: 142 kB / 0.8342 GB, free: 173 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.009765/2.018, allocations: 3.76 MB / 0.8378 GB, free: 169.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.213e-06/2.018, allocations: 3.938 kB / 0.8379 GB, free: 169.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01579/2.034, allocations: 1.573 MB / 0.8394 GB, free: 167.7 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (320): * Single equations (assignments): 315 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001595/2.035, allocations: 294.9 kB / 0.8397 GB, free: 167.4 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01471/2.05, allocations: 6.624 MB / 0.8461 GB, free: 160.8 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.801e-05/2.05, allocations: 4 kB / 0.8461 GB, free: 160.8 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003885/2.054, allocations: 1.752 MB / 0.8479 GB, free: 159.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/2.065, allocations: 0.7693 MB / 0.8486 GB, free: 158.3 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04748/2.113, allocations: 20.14 MB / 0.8683 GB, free: 137.7 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008832/2.121, allocations: 5.137 MB / 0.8733 GB, free: 132.5 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002031/2.124, allocations: 487.4 kB / 0.8738 GB, free: 132 MB / 0.5763 GB Notification: Performance of SimCode: time 1.232e-06/2.124, allocations: 0 / 0.8738 GB, free: 132 MB / 0.5763 GB Notification: Performance of Templates: time 0.1592/2.283, allocations: 90.9 MB / 0.9625 GB, free: 41.09 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.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.MultiBody.Forces.Damper2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2CalcHelperMain.o] Error 1