Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.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.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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002089/0.002089, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002514/0.002514, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 83.86 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4183, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01942/0.4378, allocations: 16.1 MB / 0.5467 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01407/0.4519, allocations: 4.98 MB / 0.5516 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006623/0.4586, allocations: 99.75 kB / 0.5517 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01215/0.4708, allocations: 5.167 MB / 0.5567 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.4819, allocations: 2.54 MB / 0.5592 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004678/0.4866, allocations: 1.178 MB / 0.5604 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01288/0.4995, allocations: 6.656 MB / 0.5669 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009747/0.5093, allocations: 6.334 MB / 0.573 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005849/0.5152, allocations: 2.59 MB / 0.5756 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006406/0.5217, allocations: 3.665 MB / 0.5792 GB, free: 204 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002467/0.5242, allocations: 0.5743 MB / 0.5797 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004947/0.5291, allocations: 1.28 MB / 0.581 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006772/0.5359, allocations: 3.222 MB / 0.5841 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009853/0.5458, allocations: 3.655 MB / 0.5877 GB, free: 7.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01896/0.5649, allocations: 11.09 MB / 0.5985 GB, free: 12.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.5649, allocations: 0 / 0.5985 GB, free: 12.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.5649, allocations: 0 / 0.5985 GB, free: 12.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005787/0.5655, allocations: 3.938 kB / 0.5985 GB, free: 12.3 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: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.02061/0.5862, allocations: 7.571 MB / 0.6059 GB, free: 4.652 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.5862, allocations: 12.03 kB / 0.6059 GB, free: 4.641 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.5972, allocations: 2.581 MB / 0.6084 GB, free: 2.047 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008128/0.6053, allocations: 3.588 MB / 0.6119 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004013/0.6058, allocations: 431.3 kB / 0.6124 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002208/0.608, allocations: 0.5542 MB / 0.6129 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04943/0.6574, allocations: 19.75 MB / 0.6322 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002633/0.6578, allocations: 71.34 kB / 0.6322 GB, free: 8.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009333/0.6587, allocations: 267.8 kB / 0.6325 GB, free: 8.211 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005144/0.6639, allocations: 3.149 MB / 0.6356 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03793/0.7018, allocations: 15.87 MB / 0.6511 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08127/0.7831, allocations: 63.73 MB / 0.7133 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6612/1.444, allocations: 6.322 MB / 0.7195 GB, free: 162.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003596/1.448, allocations: 2.083 MB / 0.7215 GB, free: 162 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01718/1.465, allocations: 9.191 MB / 0.7305 GB, free: 157.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/1.465, allocations: 62.56 kB / 0.7306 GB, free: 157.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 7.193e-06/1.465, allocations: 1.406 kB / 0.7306 GB, free: 157.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.04935/1.515, allocations: 21.36 MB / 0.7514 GB, free: 145 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/1.515, allocations: 162.5 kB / 0.7516 GB, free: 144.9 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006107/1.521, allocations: 5.759 MB / 0.7572 GB, free: 139.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004773/1.521, allocations: 69.7 kB / 0.7573 GB, free: 139 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002415/1.524, allocations: 4.833 MB / 0.762 GB, free: 134.2 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.525, allocations: 1.12 MB / 0.7631 GB, free: 133.1 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00176/1.527, allocations: 1.809 MB / 0.7648 GB, free: 131.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.516e-05/1.527, allocations: 301.1 kB / 0.7651 GB, free: 131 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003506/1.53, allocations: 2.645 MB / 0.7677 GB, free: 128.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005561/1.536, allocations: 8.202 MB / 0.7757 GB, free: 117.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/1.547, allocations: 11.76 MB / 0.7872 GB, free: 102.9 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000159/1.548, allocations: 56 kB / 0.7873 GB, free: 102.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02019/1.568, allocations: 10.54 MB / 0.7976 GB, free: 92.34 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-05/1.568, allocations: 88 kB / 0.7976 GB, free: 92.26 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001998/1.568, allocations: 196 kB / 0.7978 GB, free: 92.07 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/1.568, allocations: 260 kB / 0.7981 GB, free: 91.81 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006708/1.575, allocations: 2.223 MB / 0.8002 GB, free: 89.59 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002074/1.575, allocations: 382.5 kB / 0.8006 GB, free: 89.21 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006058/1.581, allocations: 459.5 kB / 0.801 GB, free: 88.76 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008733/1.582, allocations: 0.5351 MB / 0.8016 GB, free: 88.23 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: 78 (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 (1183): * Single equations (assignments): 1180 * 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.004007/1.586, allocations: 3.155 MB / 0.8046 GB, free: 85.06 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007231/1.587, allocations: 0.5051 MB / 0.8051 GB, free: 84.55 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004168/1.591, allocations: 2.987 MB / 0.8081 GB, free: 81.54 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/1.591, allocations: 35.94 kB / 0.8081 GB, free: 81.51 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.591, allocations: 0 / 0.8081 GB, free: 81.51 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/1.591, allocations: 11.95 kB / 0.8081 GB, free: 81.5 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/1.608, allocations: 12.26 MB / 0.8201 GB, free: 68.77 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.399e-05/1.608, allocations: 32 kB / 0.8201 GB, free: 68.73 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/1.61, allocations: 0.5459 MB / 0.8206 GB, free: 68.19 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-05/1.61, allocations: 44 kB / 0.8207 GB, free: 68.14 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/1.61, allocations: 91.98 kB / 0.8208 GB, free: 68.05 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.957e-05/1.61, allocations: 59.8 kB / 0.8208 GB, free: 68 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.181e-05/1.61, allocations: 52.67 kB / 0.8209 GB, free: 67.95 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006405/1.617, allocations: 5.618 MB / 0.8264 GB, free: 61.79 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/1.619, allocations: 0.5763 MB / 0.8269 GB, free: 61.19 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006654/1.619, allocations: 91.97 kB / 0.827 GB, free: 61.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/1.621, allocations: 143.9 kB / 0.8271 GB, free: 60.96 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/1.621, allocations: 267.9 kB / 0.8274 GB, free: 60.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.622, allocations: 120 kB / 0.8275 GB, free: 60.58 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005115/1.627, allocations: 3.577 MB / 0.831 GB, free: 57.03 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.21e-07/1.627, allocations: 0 / 0.831 GB, free: 57.03 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008345/1.635, allocations: 1.407 MB / 0.8324 GB, free: 55.63 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (275): * Single equations (assignments): 272 * 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 Backend phase and start with SimCode phase: time 0.0007428/1.636, allocations: 270.3 kB / 0.8326 GB, free: 55.37 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.009582/1.645, allocations: 6.073 MB / 0.8386 GB, free: 49.35 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.792e-05/1.645, allocations: 4 kB / 0.8386 GB, free: 49.34 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.002053/1.648, allocations: 1.368 MB / 0.8399 GB, free: 47.98 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004621/1.652, allocations: 0.7564 MB / 0.8407 GB, free: 47.24 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/1.673, allocations: 14.26 MB / 0.8546 GB, free: 32.53 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004895/1.678, allocations: 4.76 MB / 0.8592 GB, free: 27.74 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005301/1.684, allocations: 2.575 MB / 0.8617 GB, free: 25.16 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009028/1.685, allocations: 383.4 kB / 0.8621 GB, free: 24.78 MB / 0.5607 GB Notification: Performance of SimCode: time 9.31e-07/1.685, allocations: 0 / 0.8621 GB, free: 24.78 MB / 0.5607 GB Notification: Performance of Templates: time 0.08159/1.766, allocations: 41.22 MB / 0.9024 GB, free: 15.85 MB / 0.5919 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches