Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008994/0.0008994, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.299/1.299, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2845/0.2845, allocations: 43.54 MB / 314.5 MB, free: 9.043 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.0004797/0.0004797, allocations: 12 kB / 383.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 58.87 MB / 442.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.2186/0.3343, allocations: 74.98 MB / 0.5056 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0333/0.3677, allocations: 16.76 MB / 0.522 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01374/0.3815, allocations: 368.1 kB / 0.5223 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01199/0.3935, allocations: 3.732 MB / 0.526 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02918/0.4227, allocations: 10.55 MB / 0.5363 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005829/0.4285, allocations: 1.069 MB / 0.5373 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009505/0.4381, allocations: 3.919 MB / 0.5411 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01288/0.451, allocations: 8.478 MB / 0.5494 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003593/0.4546, allocations: 1.764 MB / 0.5511 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00387/0.4585, allocations: 2.551 MB / 0.5536 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001197/0.4598, allocations: 276 kB / 0.5539 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.4621, allocations: 0.8583 MB / 0.5547 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003121/0.4652, allocations: 2.825 MB / 0.5575 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002116/0.4674, allocations: 1.431 MB / 0.5589 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009325/0.4767, allocations: 9.375 MB / 0.568 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4767, allocations: 0 / 0.568 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4768, allocations: 0 / 0.568 GB, free: 15.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004148/0.4772, allocations: 0 / 0.568 GB, free: 15.7 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.01406/0.4913, allocations: 6.744 MB / 0.5746 GB, free: 8.875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4913, allocations: 8.031 kB / 0.5746 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/0.5042, allocations: 3.275 MB / 0.5778 GB, free: 5.578 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008619/0.5129, allocations: 4.393 MB / 0.5821 GB, free: 1.125 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/0.5133, allocations: 459.6 kB / 0.5826 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/0.5146, allocations: 0.5895 MB / 0.5831 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04346/0.5581, allocations: 21.45 MB / 0.6041 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003195/0.5585, allocations: 71.33 kB / 0.6042 GB, free: 9.406 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002123/0.5606, allocations: 283.8 kB / 0.6044 GB, free: 9.129 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006347/0.567, allocations: 3.545 MB / 0.6079 GB, free: 5.578 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03831/0.6053, allocations: 17.43 MB / 0.6249 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.496/1.101, allocations: 70.41 MB / 0.6937 GB, free: 30.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03694/1.138, allocations: 14.47 MB / 0.7078 GB, free: 25.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01933/1.158, allocations: 14.5 MB / 0.722 GB, free: 16.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/1.158, allocations: 63.81 kB / 0.722 GB, free: 16.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=300): time 5.34e-06/1.158, allocations: 0 / 0.722 GB, free: 16.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=334): time 0.1043/1.262, allocations: 41.74 MB / 0.7628 GB, free: 10.9 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/1.262, allocations: 162.5 kB / 0.7629 GB, free: 10.71 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008079/1.27, allocations: 6.363 MB / 0.7691 GB, free: 5.949 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005963/1.271, allocations: 75.89 kB / 0.7692 GB, free: 5.91 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003605/1.275, allocations: 5.205 MB / 0.7743 GB, free: 1.695 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001636/1.276, allocations: 1.257 MB / 0.7755 GB, free: 0.6445 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/1.277, allocations: 199.4 kB / 0.7757 GB, free: 0.6055 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0004812/1.277, allocations: 0.7149 MB / 0.7764 GB, free: 40 kB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005169/1.282, allocations: 3.194 MB / 0.7795 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008695/1.291, allocations: 8.977 MB / 0.7883 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008027/1.299, allocations: 5.157 MB / 0.7933 GB, free: 48 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001709/1.299, allocations: 60.05 kB / 0.7934 GB, free: 15.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=1283) (initialization): time 0.02347/1.323, allocations: 12.11 MB / 0.8052 GB, free: 6.156 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/1.323, allocations: 92 kB / 0.8053 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002697/1.323, allocations: 205.7 kB / 0.8055 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009268/1.324, allocations: 0.5365 MB / 0.806 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008624/1.333, allocations: 2.399 MB / 0.8084 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/1.336, allocations: 2.721 MB / 0.811 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006743/1.343, allocations: 0.5307 MB / 0.8115 GB, free: 15.84 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/1.344, allocations: 0.578 MB / 0.8121 GB, free: 15.26 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (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 (1256): * Single equations (assignments): 1252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005776/1.35, allocations: 3.392 MB / 0.8154 GB, free: 12.05 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008836/1.351, allocations: 0.5476 MB / 0.816 GB, free: 11.5 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006862/1.358, allocations: 4.346 MB / 0.8202 GB, free: 7.105 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-05/1.358, allocations: 37.19 kB / 0.8202 GB, free: 7.074 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.358, allocations: 4 kB / 0.8202 GB, free: 7.07 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/1.358, allocations: 15.94 kB / 0.8203 GB, free: 7.055 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02302/1.381, allocations: 13.66 MB / 0.8336 GB, free: 9.164 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.682e-05/1.381, allocations: 32 kB / 0.8336 GB, free: 9.133 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/1.383, allocations: 0.6344 MB / 0.8343 GB, free: 8.539 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-05/1.383, allocations: 44 kB / 0.8343 GB, free: 8.496 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/1.384, allocations: 97.86 kB / 0.8344 GB, free: 8.402 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.974e-05/1.384, allocations: 63.64 kB / 0.8344 GB, free: 8.352 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.918e-05/1.384, allocations: 47.98 kB / 0.8345 GB, free: 8.316 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.244/1.628, allocations: 11.86 MB / 0.8461 GB, free: 214.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002527/1.63, allocations: 0.8906 MB / 0.8469 GB, free: 214.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007199/1.631, allocations: 93.23 kB / 0.847 GB, free: 214.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/1.633, allocations: 176.6 kB / 0.8472 GB, free: 214.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003259/1.633, allocations: 288.2 kB / 0.8475 GB, free: 214.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/1.634, allocations: 124.7 kB / 0.8476 GB, free: 214.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00582/1.639, allocations: 3.993 MB / 0.8515 GB, free: 214 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.71e-07/1.639, allocations: 0 / 0.8515 GB, free: 214 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006804/1.646, allocations: 1.617 MB / 0.8531 GB, free: 214 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 128 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.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 (319): * Single equations (assignments): 316 * Array equations: 3 * 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.0005347/1.647, allocations: 294.3 kB / 0.8534 GB, free: 214 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.657, allocations: 7.172 MB / 0.8604 GB, free: 211.8 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/1.657, allocations: 5.844 kB / 0.8604 GB, free: 211.8 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/1.659, allocations: 1.69 MB / 0.862 GB, free: 211.2 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/1.663, allocations: 0.6926 MB / 0.8627 GB, free: 210.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/1.689, allocations: 18.8 MB / 0.881 GB, free: 200.7 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007219/1.696, allocations: 5.283 MB / 0.8862 GB, free: 198.9 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007767/1.704, allocations: 2.813 MB / 0.889 GB, free: 198.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/1.706, allocations: 421.3 kB / 0.8894 GB, free: 198.7 MB / 0.5763 GB Notification: Performance of SimCode: time 1.323e-06/1.706, allocations: 0 / 0.8894 GB, free: 198.7 MB / 0.5763 GB Notification: Performance of Templates: time 0.08241/1.788, allocations: 51.5 MB / 0.9397 GB, free: 160.5 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches