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.001137/0.001137, allocations: 109.9 kB / 18.44 MB, free: 4.727 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.00116/0.00116, allocations: 186.1 kB / 19.37 MB, free: 3.805 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.423/1.423, allocations: 222.9 MB / 243.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2232/0.2232, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001496, allocations: 71.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.406, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01833/0.4243, allocations: 16.46 MB / 0.5357 GB, free: 7.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.4363, allocations: 5.059 MB / 0.5406 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003871/0.4402, allocations: 105.3 kB / 0.5407 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01024/0.4505, allocations: 5.205 MB / 0.5458 GB, free: 104 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007978/0.4585, allocations: 2.664 MB / 0.5484 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003464/0.462, allocations: 1.187 MB / 0.5495 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01166/0.4737, allocations: 6.732 MB / 0.5561 GB, free: 6.586 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009455/0.4832, allocations: 6.404 MB / 0.5624 GB, free: 104 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00483/0.4881, allocations: 2.656 MB / 0.565 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006749/0.4948, allocations: 3.758 MB / 0.5686 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002497/0.4974, allocations: 0.5859 MB / 0.5692 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004094/0.5015, allocations: 1.303 MB / 0.5705 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004755/0.5063, allocations: 3.351 MB / 0.5737 GB, free: 4.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006928/0.5132, allocations: 3.799 MB / 0.5775 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.5275, allocations: 11.53 MB / 0.5887 GB, free: 5.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5276, allocations: 4 kB / 0.5887 GB, free: 5.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.5276, allocations: 0 / 0.5887 GB, free: 5.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000378/0.528, allocations: 0 / 0.5887 GB, free: 5.023 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.01774/0.5457, allocations: 7.883 MB / 0.5964 GB, free: 13.04 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.5458, allocations: 8.031 kB / 0.5964 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.5572, allocations: 2.662 MB / 0.599 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009441/0.5667, allocations: 3.744 MB / 0.6027 GB, free: 6.555 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005402/0.5673, allocations: 447.5 kB / 0.6031 GB, free: 6.117 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002235/0.5695, allocations: 0.562 MB / 0.6037 GB, free: 5.555 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04425/0.6138, allocations: 20.31 MB / 0.6235 GB, free: 96 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000277/0.6141, allocations: 71.33 kB / 0.6236 GB, free: 24 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001845/0.616, allocations: 275.8 kB / 0.6238 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005819/0.6218, allocations: 3.337 MB / 0.6271 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04307/0.6649, allocations: 16.34 MB / 0.643 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1007/0.7657, allocations: 65.07 MB / 0.7066 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01916/0.7849, allocations: 6.373 MB / 0.7128 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004166/0.7891, allocations: 2.124 MB / 0.7149 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5346/1.324, allocations: 9.147 MB / 0.7238 GB, free: 165.1 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0147/1.338, allocations: 4.157 MB / 0.7279 GB, free: 164.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=260): time 6.593e-06/1.338, allocations: 0 / 0.7279 GB, free: 164.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=294): time 0.055/1.393, allocations: 21.53 MB / 0.7489 GB, free: 155.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/1.394, allocations: 158.5 kB / 0.7491 GB, free: 155.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006701/1.4, allocations: 5.858 MB / 0.7548 GB, free: 149.5 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004443/1.401, allocations: 73.7 kB / 0.7548 GB, free: 149.4 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002969/1.404, allocations: 5.067 MB / 0.7598 GB, free: 144.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001086/1.405, allocations: 1.13 MB / 0.7609 GB, free: 143.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001766/1.407, allocations: 1.833 MB / 0.7627 GB, free: 141.4 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.932e-05/1.407, allocations: 305.1 kB / 0.763 GB, free: 141.1 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003603/1.41, allocations: 2.665 MB / 0.7656 GB, free: 138.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005576/1.416, allocations: 8.275 MB / 0.7737 GB, free: 127.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/1.427, allocations: 11.9 MB / 0.7853 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001638/1.427, allocations: 56 kB / 0.7853 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.01843/1.446, allocations: 10.68 MB / 0.7958 GB, free: 102 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002375/1.446, allocations: 121.7 kB / 0.7959 GB, free: 101.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003351/1.446, allocations: 200 kB / 0.7961 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/1.447, allocations: 264 kB / 0.7963 GB, free: 101.4 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007465/1.454, allocations: 2.226 MB / 0.7985 GB, free: 99.17 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000337/1.454, allocations: 390.5 kB / 0.7989 GB, free: 98.79 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008052/1.463, allocations: 463.4 kB / 0.7993 GB, free: 98.34 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001597/1.464, allocations: 0.5469 MB / 0.7998 GB, free: 97.79 MB / 0.5607 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007597/1.472, allocations: 3.241 MB / 0.803 GB, free: 94.54 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/1.473, allocations: 0.5168 MB / 0.8035 GB, free: 94.01 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006325/1.48, allocations: 3.023 MB / 0.8065 GB, free: 90.97 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/1.48, allocations: 19.88 kB / 0.8065 GB, free: 90.95 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.48, allocations: 0 / 0.8065 GB, free: 90.95 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/1.481, allocations: 0.5488 MB / 0.807 GB, free: 90.38 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001299/1.483, allocations: 51.66 kB / 0.8071 GB, free: 90.33 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002349/1.485, allocations: 135 kB / 0.8072 GB, free: 90.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000367/1.485, allocations: 153.8 kB / 0.8074 GB, free: 90.05 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005998/1.491, allocations: 3.55 MB / 0.8108 GB, free: 86.54 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007116/1.498, allocations: 5.696 MB / 0.8164 GB, free: 80.77 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001795/1.5, allocations: 1.474 MB / 0.8178 GB, free: 79.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006027/1.506, allocations: 3.606 MB / 0.8213 GB, free: 75.69 MB / 0.5607 GB Notification: Performance of Backend: time 1.192e-06/1.506, allocations: 3.938 kB / 0.8213 GB, free: 75.69 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01208/1.518, allocations: 5.35 MB / 0.8266 GB, free: 70.38 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02818/1.547, allocations: 14.11 MB / 0.8403 GB, free: 56.25 MB / 0.5607 GB Notification: Performance of Templates: time 0.1063/1.653, allocations: 57.52 MB / 0.8965 GB, free: 15.03 MB / 0.5763 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches