Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 114.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 75.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2978, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.0161/0.314, allocations: 16.15 MB / 0.5474 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.3254, allocations: 5.025 MB / 0.5524 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/0.3277, allocations: 99.75 kB / 0.5524 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008555/0.3363, allocations: 5.159 MB / 0.5575 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006421/0.3427, allocations: 2.478 MB / 0.5599 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.3451, allocations: 1.189 MB / 0.5611 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008135/0.3533, allocations: 6.706 MB / 0.5676 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006499/0.3598, allocations: 6.349 MB / 0.5738 GB, free: 6.352 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005024/0.3648, allocations: 2.598 MB / 0.5764 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00585/0.3707, allocations: 3.692 MB / 0.58 GB, free: 44 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001969/0.3727, allocations: 0.5782 MB / 0.5805 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003789/0.3765, allocations: 1.272 MB / 0.5818 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004842/0.3814, allocations: 3.23 MB / 0.5849 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007087/0.3885, allocations: 3.667 MB / 0.5885 GB, free: 7.266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01338/0.4019, allocations: 11.13 MB / 0.5994 GB, free: 12.1 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4019, allocations: 0 / 0.5994 GB, free: 12.1 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4019, allocations: 0 / 0.5994 GB, free: 12.1 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003584/0.4023, allocations: 3.938 kB / 0.5994 GB, free: 12.09 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.01473/0.417, allocations: 7.664 MB / 0.6069 GB, free: 4.344 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4171, allocations: 11.97 kB / 0.6069 GB, free: 4.332 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009499/0.4266, allocations: 2.585 MB / 0.6094 GB, free: 1.734 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006415/0.433, allocations: 3.588 MB / 0.6129 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003268/0.4334, allocations: 439.3 kB / 0.6133 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/0.4348, allocations: 0.5504 MB / 0.6139 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03788/0.4726, allocations: 19.79 MB / 0.6332 GB, free: 8.184 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002418/0.4729, allocations: 71.34 kB / 0.6332 GB, free: 8.113 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001372/0.4743, allocations: 267.8 kB / 0.6335 GB, free: 7.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004543/0.4789, allocations: 3.153 MB / 0.6366 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03488/0.5138, allocations: 15.92 MB / 0.6521 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.077/0.5908, allocations: 63.8 MB / 0.7144 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.511/1.102, allocations: 6.393 MB / 0.7207 GB, free: 162.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003343/1.105, allocations: 2.112 MB / 0.7227 GB, free: 161.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01262/1.118, allocations: 9.223 MB / 0.7317 GB, free: 157.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01229/1.13, allocations: 4.196 MB / 0.7358 GB, free: 156.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=260): time 6.903e-06/1.13, allocations: 0 / 0.7358 GB, free: 156.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=294): time 0.04964/1.18, allocations: 21.59 MB / 0.7569 GB, free: 140 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/1.18, allocations: 158.5 kB / 0.7571 GB, free: 139.8 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005637/1.186, allocations: 5.772 MB / 0.7627 GB, free: 134.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003154/1.186, allocations: 73.7 kB / 0.7628 GB, free: 134 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002502/1.188, allocations: 4.927 MB / 0.7676 GB, free: 129.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007122/1.189, allocations: 1.127 MB / 0.7687 GB, free: 128 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/1.191, allocations: 1.821 MB / 0.7705 GB, free: 126.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.88e-05/1.191, allocations: 305.1 kB / 0.7708 GB, free: 125.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00335/1.194, allocations: 2.673 MB / 0.7734 GB, free: 123.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004978/1.199, allocations: 8.237 MB / 0.7814 GB, free: 112.2 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00929/1.208, allocations: 11.86 MB / 0.793 GB, free: 97.58 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.695e-05/1.208, allocations: 56 kB / 0.793 GB, free: 97.53 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1212) (initialization): time 0.01265/1.221, allocations: 10.65 MB / 0.8034 GB, free: 86.87 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.636e-05/1.221, allocations: 121.6 kB / 0.8036 GB, free: 86.74 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/1.221, allocations: 200 kB / 0.8038 GB, free: 86.55 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/1.222, allocations: 267.9 kB / 0.804 GB, free: 86.29 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00543/1.227, allocations: 2.219 MB / 0.8062 GB, free: 84.06 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001859/1.227, allocations: 390.5 kB / 0.8065 GB, free: 83.68 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005141/1.232, allocations: 470.2 kB / 0.807 GB, free: 83.22 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004819/1.233, allocations: 0.5503 MB / 0.8075 GB, free: 82.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.003301/1.236, allocations: 3.15 MB / 0.8106 GB, free: 79.52 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005202/1.237, allocations: 0.5128 MB / 0.8111 GB, free: 79 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00425/1.241, allocations: 3.062 MB / 0.8141 GB, free: 75.91 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/1.241, allocations: 19.89 kB / 0.8141 GB, free: 75.89 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.241, allocations: 0 / 0.8141 GB, free: 75.89 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006844/1.242, allocations: 0.5256 MB / 0.8146 GB, free: 75.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004821/1.242, allocations: 55.97 kB / 0.8147 GB, free: 75.29 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/1.244, allocations: 147.8 kB / 0.8148 GB, free: 75.14 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/1.244, allocations: 153.8 kB / 0.815 GB, free: 75 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005154/1.249, allocations: 3.612 MB / 0.8185 GB, free: 71.42 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006133/1.255, allocations: 5.759 MB / 0.8241 GB, free: 65.59 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001711/1.257, allocations: 1.488 MB / 0.8256 GB, free: 64.1 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004311/1.261, allocations: 3.561 MB / 0.8291 GB, free: 60.57 MB / 0.5607 GB Notification: Performance of Backend: time 4.6e-07/1.261, allocations: 0 / 0.8291 GB, free: 60.57 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0087/1.27, allocations: 5.344 MB / 0.8343 GB, free: 55.27 MB / 0.5607 GB Notification: Performance of SimCode: time 0.01914/1.289, allocations: 13.74 MB / 0.8477 GB, free: 41.51 MB / 0.5607 GB Notification: Performance of Templates: time 0.09536/1.385, allocations: 56.62 MB / 0.903 GB, free: 1.215 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches