Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 213.3 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.229/0.229, allocations: 46.96 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 71.89 kB / 0.4974 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3347, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01736/0.3521, allocations: 14 MB / 0.5755 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.3632, allocations: 4.842 MB / 0.5802 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002942/0.3661, allocations: 115.5 kB / 0.5804 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01038/0.3765, allocations: 5.023 MB / 0.5853 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007371/0.3839, allocations: 2.564 MB / 0.5878 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.3868, allocations: 1.193 MB / 0.5889 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009819/0.3966, allocations: 6.705 MB / 0.5955 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007192/0.4038, allocations: 5.084 MB / 0.6004 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006108/0.4099, allocations: 2.644 MB / 0.603 GB, free: 9.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006996/0.4169, allocations: 3.965 MB / 0.6069 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002132/0.419, allocations: 0.5742 MB / 0.6075 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003485/0.4225, allocations: 1.178 MB / 0.6086 GB, free: 4.043 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00429/0.4268, allocations: 3.296 MB / 0.6118 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005346/0.4322, allocations: 2.773 MB / 0.6145 GB, free: 13.94 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01507/0.4472, allocations: 11.24 MB / 0.6255 GB, free: 2.664 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4472, allocations: 0 / 0.6255 GB, free: 2.664 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4472, allocations: 4 kB / 0.6255 GB, free: 2.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003475/0.4476, allocations: 3.938 kB / 0.6255 GB, free: 2.656 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2522 * Number of variables: 2522 Notification: Performance of Generate backend data structure: time 0.01876/0.4663, allocations: 7.778 MB / 0.6331 GB, free: 10.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.4664, allocations: 8.031 kB / 0.6331 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.4776, allocations: 2.633 MB / 0.6357 GB, free: 8.148 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009981/0.4876, allocations: 3.541 MB / 0.6391 GB, free: 4.555 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000525/0.4881, allocations: 436.2 kB / 0.6396 GB, free: 4.129 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002329/0.4905, allocations: 0.5583 MB / 0.6401 GB, free: 3.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04616/0.5366, allocations: 19.91 MB / 0.6596 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00027/0.5369, allocations: 71.38 kB / 0.6596 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001267/0.5382, allocations: 271.8 kB / 0.6599 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005453/0.5436, allocations: 3.153 MB / 0.663 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03993/0.5836, allocations: 15.89 MB / 0.6785 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5765/1.16, allocations: 59.75 MB / 0.7368 GB, free: 139.3 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01598/1.176, allocations: 5.741 MB / 0.7424 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002743/1.179, allocations: 1.929 MB / 0.7443 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01277/1.192, allocations: 7.526 MB / 0.7517 GB, free: 137.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01348/1.205, allocations: 4.321 MB / 0.7559 GB, free: 136.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=260): time 9.628e-06/1.205, allocations: 0 / 0.7559 GB, free: 136.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=294): time 0.05778/1.263, allocations: 21.75 MB / 0.7771 GB, free: 119.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/1.263, allocations: 166.1 kB / 0.7773 GB, free: 119.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005714/1.269, allocations: 5.321 MB / 0.7825 GB, free: 114 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.00051/1.269, allocations: 73.7 kB / 0.7826 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003484/1.273, allocations: 5.163 MB / 0.7876 GB, free: 109 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.274, allocations: 1.182 MB / 0.7887 GB, free: 107.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002079/1.276, allocations: 1.834 MB / 0.7905 GB, free: 106 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.785e-05/1.276, allocations: 301.1 kB / 0.7908 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003752/1.28, allocations: 2.698 MB / 0.7935 GB, free: 103 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006129/1.286, allocations: 8.264 MB / 0.8015 GB, free: 92.01 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/1.297, allocations: 11.86 MB / 0.8131 GB, free: 77.57 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000201/1.297, allocations: 56 kB / 0.8132 GB, free: 77.52 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1212) (initialization): time 0.01914/1.316, allocations: 10.64 MB / 0.8236 GB, free: 66.87 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/1.316, allocations: 121.7 kB / 0.8237 GB, free: 66.74 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002354/1.317, allocations: 196 kB / 0.8239 GB, free: 66.55 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/1.317, allocations: 267.9 kB / 0.8241 GB, free: 66.29 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007106/1.324, allocations: 2.227 MB / 0.8263 GB, free: 64.06 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002793/1.324, allocations: 386.5 kB / 0.8267 GB, free: 63.68 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006999/1.331, allocations: 471.5 kB / 0.8271 GB, free: 63.22 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001562/1.333, allocations: 0.5429 MB / 0.8276 GB, free: 62.68 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 83 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.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 (1187): * Single equations (assignments): 1183 * 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.005558/1.338, allocations: 3.152 MB / 0.8307 GB, free: 59.51 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009916/1.339, allocations: 488.8 kB / 0.8312 GB, free: 59.03 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004534/1.344, allocations: 3.001 MB / 0.8341 GB, free: 56.02 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.911e-05/1.344, allocations: 19.94 kB / 0.8341 GB, free: 56 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.344, allocations: 0 / 0.8341 GB, free: 56 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.345, allocations: 420.5 kB / 0.8345 GB, free: 55.58 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006512/1.346, allocations: 51.94 kB / 0.8346 GB, free: 55.53 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/1.347, allocations: 147.8 kB / 0.8347 GB, free: 55.39 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/1.348, allocations: 169 kB / 0.8349 GB, free: 55.22 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005705/1.353, allocations: 3.589 MB / 0.8384 GB, free: 51.67 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006971/1.36, allocations: 5.729 MB / 0.844 GB, free: 45.88 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00173/1.362, allocations: 1.362 MB / 0.8453 GB, free: 44.51 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004661/1.367, allocations: 3.007 MB / 0.8482 GB, free: 41.51 MB / 0.5607 GB Notification: Performance of Backend: time 3.91e-07/1.367, allocations: 0 / 0.8482 GB, free: 41.51 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.379, allocations: 5.115 MB / 0.8532 GB, free: 36.43 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02425/1.403, allocations: 13.75 MB / 0.8667 GB, free: 22.63 MB / 0.5607 GB Notification: Performance of Templates: time 0.1113/1.514, allocations: 57.34 MB / 0.9227 GB, free: 14.04 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.357845180995355]