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.001188/0.001188, allocations: 113 kB / 17.09 MB, free: 5.965 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.001067/0.001067, allocations: 199.3 kB / 18.02 MB, free: 5.047 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.278/1.278, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1914/0.1914, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 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.001355/0.001355, allocations: 65.45 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1079, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01828/0.1262, allocations: 17.7 MB / 0.5058 GB, free: 10 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.1376, allocations: 5.255 MB / 0.511 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002881/0.1405, allocations: 103.8 kB / 0.5111 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009306/0.1498, allocations: 5.245 MB / 0.5162 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006857/0.1568, allocations: 2.738 MB / 0.5189 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002654/0.1594, allocations: 1.197 MB / 0.52 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00898/0.1684, allocations: 7.094 MB / 0.527 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2223/0.3907, allocations: 6.558 MB / 0.5334 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004828/0.3956, allocations: 2.805 MB / 0.5361 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006481/0.4021, allocations: 4.012 MB / 0.54 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00188/0.404, allocations: 0.6286 MB / 0.5406 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003624/0.4076, allocations: 1.331 MB / 0.5419 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004227/0.4119, allocations: 3.53 MB / 0.5454 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006345/0.4182, allocations: 4.029 MB / 0.5493 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01496/0.4332, allocations: 12.26 MB / 0.5613 GB, free: 1.074 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.4333, allocations: 3.984 kB / 0.5613 GB, free: 1.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4333, allocations: 0 / 0.5613 GB, free: 1.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004472/0.4337, allocations: 7.562 kB / 0.5613 GB, free: 1.066 MB / 414.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.02001/0.4538, allocations: 8.282 MB / 0.5694 GB, free: 11.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4538, allocations: 6.844 kB / 0.5694 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.4649, allocations: 2.727 MB / 0.5721 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009261/0.4742, allocations: 4.014 MB / 0.576 GB, free: 8.012 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/0.4746, allocations: 462.3 kB / 0.5764 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002085/0.4767, allocations: 0.5877 MB / 0.577 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04086/0.5176, allocations: 21.27 MB / 0.5978 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002267/0.5178, allocations: 73.47 kB / 0.5978 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001231/0.5191, allocations: 280.7 kB / 0.5981 GB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005212/0.5243, allocations: 3.539 MB / 0.6016 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03677/0.5611, allocations: 17.27 MB / 0.6184 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09268/0.6538, allocations: 67.57 MB / 0.6844 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.019/0.6728, allocations: 6.751 MB / 0.691 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004861/0.6777, allocations: 2.363 MB / 0.6933 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01893/0.6967, allocations: 9.799 MB / 0.7029 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01466/0.7114, allocations: 4.393 MB / 0.7072 GB, free: 3.219 MB / 0.545 GB Notification: Performance of pre-optimization done (n=299): time 1.225e-05/0.7114, allocations: 0 / 0.7072 GB, free: 3.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=333): time 0.07326/0.7847, allocations: 22.99 MB / 0.7296 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.632e-05/0.7848, allocations: 161.6 kB / 0.7298 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01251/0.7974, allocations: 6.05 MB / 0.7357 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007328/0.7981, allocations: 77.7 kB / 0.7358 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005982/0.8041, allocations: 5.296 MB / 0.7409 GB, free: 484 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002063/0.8062, allocations: 1.267 MB / 0.7422 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005761/0.812, allocations: 1.943 MB / 0.7441 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.8121, allocations: 305.1 kB / 0.7444 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006208/0.8184, allocations: 2.889 MB / 0.7472 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2624/1.081, allocations: 8.712 MB / 0.7557 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01509/1.096, allocations: 12.6 MB / 0.768 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000211/1.096, allocations: 59 kB / 0.7681 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02197/1.118, allocations: 11.37 MB / 0.7792 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002717/1.118, allocations: 120.2 kB / 0.7793 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005403/1.119, allocations: 204.7 kB / 0.7795 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004095/1.119, allocations: 273.1 kB / 0.7797 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007819/1.127, allocations: 2.376 MB / 0.782 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004688/1.128, allocations: 400.8 kB / 0.7824 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006644/1.134, allocations: 492.3 kB / 0.7829 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/1.136, allocations: 0.5764 MB / 0.7835 GB, free: 183.2 MB / 0.5919 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.006659/1.142, allocations: 3.41 MB / 0.7868 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.143, allocations: 0.5481 MB / 0.7873 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00622/1.15, allocations: 3.519 MB / 0.7908 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.131e-05/1.15, allocations: 13.27 kB / 0.7908 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/1.15, allocations: 5.578 kB / 0.7908 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/1.151, allocations: 0.8507 MB / 0.7916 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009856/1.152, allocations: 65.61 kB / 0.7917 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/1.155, allocations: 150.2 kB / 0.7918 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003892/1.155, allocations: 177.8 kB / 0.792 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006628/1.162, allocations: 4 MB / 0.7959 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007695/1.169, allocations: 6.435 MB / 0.8022 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001993/1.171, allocations: 1.683 MB / 0.8038 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005933/1.177, allocations: 3.737 MB / 0.8075 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of Backend: time 6.71e-07/1.177, allocations: 0 / 0.8075 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.189, allocations: 5.716 MB / 0.8131 GB, free: 165.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02447/1.214, allocations: 14.82 MB / 0.8275 GB, free: 151.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.09691/1.311, allocations: 59.95 MB / 0.8861 GB, free: 93.8 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches