Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.00172/0.00172, allocations: 113.9 kB / 18.46 MB, free: 4.641 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.001844/0.001844, allocations: 186.1 kB / 19.38 MB, free: 3.723 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.395/1.395, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2243/0.2243, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3785, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.0192/0.3978, allocations: 16.4 MB / 0.5356 GB, free: 7.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01497/0.4128, allocations: 5.017 MB / 0.5405 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004929/0.4178, allocations: 100.1 kB / 0.5406 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.4287, allocations: 5.202 MB / 0.5457 GB, free: 168 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009414/0.4382, allocations: 2.643 MB / 0.5483 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004492/0.4427, allocations: 1.175 MB / 0.5494 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01396/0.4567, allocations: 6.67 MB / 0.5559 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01378/0.4705, allocations: 6.389 MB / 0.5622 GB, free: 312 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007399/0.478, allocations: 2.64 MB / 0.5647 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008943/0.487, allocations: 3.739 MB / 0.5684 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003221/0.4902, allocations: 0.582 MB / 0.569 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005287/0.4956, allocations: 1.303 MB / 0.5702 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006651/0.5022, allocations: 3.332 MB / 0.5735 GB, free: 4.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01005/0.5123, allocations: 3.787 MB / 0.5772 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02002/0.5324, allocations: 11.49 MB / 0.5884 GB, free: 5.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5324, allocations: 0 / 0.5884 GB, free: 5.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5325, allocations: 0 / 0.5884 GB, free: 5.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005198/0.533, allocations: 0 / 0.5884 GB, free: 5.34 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02787/0.5609, allocations: 7.798 MB / 0.596 GB, free: 13.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.561, allocations: 8.031 kB / 0.596 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01242/0.5734, allocations: 2.662 MB / 0.5986 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/0.5852, allocations: 3.732 MB / 0.6023 GB, free: 6.977 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006624/0.5859, allocations: 439.5 kB / 0.6027 GB, free: 6.547 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003249/0.5891, allocations: 0.5659 MB / 0.6032 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04825/0.6374, allocations: 20.27 MB / 0.623 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003146/0.6378, allocations: 63.41 kB / 0.6231 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00184/0.6396, allocations: 275.8 kB / 0.6234 GB, free: 232 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005765/0.6454, allocations: 3.341 MB / 0.6266 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04066/0.6861, allocations: 16.3 MB / 0.6425 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1038/0.7899, allocations: 65 MB / 0.706 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01883/0.8088, allocations: 6.282 MB / 0.7122 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003792/0.8126, allocations: 2.085 MB / 0.7142 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5132/1.326, allocations: 9.115 MB / 0.7231 GB, free: 165.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.326, allocations: 65.25 kB / 0.7232 GB, free: 165.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 5.701e-06/1.326, allocations: 0 / 0.7232 GB, free: 165.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.0606/1.387, allocations: 21.31 MB / 0.744 GB, free: 158.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/1.387, allocations: 157.2 kB / 0.7441 GB, free: 158.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007121/1.394, allocations: 5.846 MB / 0.7498 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003416/1.394, allocations: 65.7 kB / 0.7499 GB, free: 154.6 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002237/1.396, allocations: 4.964 MB / 0.7547 GB, free: 149.7 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008756/1.397, allocations: 1.115 MB / 0.7558 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0018/1.399, allocations: 1.835 MB / 0.7576 GB, free: 146.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.328e-05/1.399, allocations: 309.1 kB / 0.7579 GB, free: 146.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00324/1.402, allocations: 2.626 MB / 0.7605 GB, free: 143.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004954/1.407, allocations: 8.235 MB / 0.7685 GB, free: 132.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/1.418, allocations: 11.81 MB / 0.7801 GB, free: 118.3 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001305/1.418, allocations: 56 kB / 0.7801 GB, free: 118.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.01415/1.432, allocations: 10.57 MB / 0.7904 GB, free: 107.6 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/1.432, allocations: 92 kB / 0.7905 GB, free: 107.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000266/1.432, allocations: 196 kB / 0.7907 GB, free: 107.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002541/1.433, allocations: 264 kB / 0.791 GB, free: 107.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006272/1.439, allocations: 2.219 MB / 0.7931 GB, free: 104.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000362/1.439, allocations: 390.5 kB / 0.7935 GB, free: 104.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006505/1.446, allocations: 447.4 kB / 0.7939 GB, free: 104.1 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/1.447, allocations: 0.5546 MB / 0.7945 GB, free: 103.5 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: 78 (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 (1192): * Single equations (assignments): 1189 * Array equations: 3 * 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.00651/1.454, allocations: 3.229 MB / 0.7976 GB, free: 100.3 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001449/1.455, allocations: 0.5128 MB / 0.7981 GB, free: 99.74 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006313/1.461, allocations: 2.974 MB / 0.801 GB, free: 96.75 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/1.461, allocations: 11.95 kB / 0.801 GB, free: 96.74 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.461, allocations: 0 / 0.801 GB, free: 96.74 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/1.463, allocations: 0.5371 MB / 0.8016 GB, free: 96.18 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001584/1.465, allocations: 47.94 kB / 0.8016 GB, free: 96.13 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003224/1.468, allocations: 123.9 kB / 0.8017 GB, free: 96.01 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004777/1.469, allocations: 146.6 kB / 0.8019 GB, free: 95.87 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005744/1.474, allocations: 3.536 MB / 0.8053 GB, free: 92.38 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006615/1.481, allocations: 5.577 MB / 0.8108 GB, free: 86.72 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001586/1.483, allocations: 1.417 MB / 0.8121 GB, free: 85.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005948/1.489, allocations: 3.598 MB / 0.8157 GB, free: 81.74 MB / 0.5607 GB Notification: Performance of Backend: time 7.72e-07/1.489, allocations: 0 / 0.8157 GB, free: 81.74 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.5, allocations: 5.263 MB / 0.8208 GB, free: 76.54 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02504/1.525, allocations: 14.07 MB / 0.8345 GB, free: 62.44 MB / 0.5607 GB Notification: Performance of Templates: time 0.1013/1.626, allocations: 56.54 MB / 0.8898 GB, free: 6.184 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches