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.001174/0.001174, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 83.86 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4638, allocations: 62.44 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01682/0.4807, allocations: 16.09 MB / 0.5467 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.4928, allocations: 4.986 MB / 0.5516 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00378/0.4966, allocations: 99.75 kB / 0.5517 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009811/0.5065, allocations: 5.167 MB / 0.5567 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009433/0.516, allocations: 2.458 MB / 0.5591 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004414/0.5204, allocations: 1.182 MB / 0.5603 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01499/0.5355, allocations: 6.655 MB / 0.5668 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01209/0.5476, allocations: 6.332 MB / 0.573 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005557/0.5532, allocations: 2.586 MB / 0.5755 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005916/0.5592, allocations: 3.665 MB / 0.5791 GB, free: 348 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002325/0.5615, allocations: 0.5743 MB / 0.5796 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003971/0.5655, allocations: 1.272 MB / 0.5809 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004688/0.5702, allocations: 3.203 MB / 0.584 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007151/0.5774, allocations: 3.659 MB / 0.5876 GB, free: 7.602 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01884/0.5963, allocations: 11.14 MB / 0.5985 GB, free: 12.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.5963, allocations: 0 / 0.5985 GB, free: 12.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5964, allocations: 0 / 0.5985 GB, free: 12.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007477/0.5971, allocations: 4 kB / 0.5985 GB, free: 12.41 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.02849/0.6256, allocations: 7.769 MB / 0.606 GB, free: 4.551 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.6257, allocations: 15.97 kB / 0.6061 GB, free: 4.535 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.6376, allocations: 2.629 MB / 0.6086 GB, free: 1.898 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.6477, allocations: 3.601 MB / 0.6121 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006078/0.6483, allocations: 431.3 kB / 0.6126 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002886/0.6512, allocations: 0.5543 MB / 0.6131 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05154/0.7028, allocations: 19.74 MB / 0.6324 GB, free: 8.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004365/0.7033, allocations: 79.38 kB / 0.6324 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002572/0.7058, allocations: 263.8 kB / 0.6327 GB, free: 8.051 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005335/0.7112, allocations: 3.153 MB / 0.6358 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04048/0.7517, allocations: 15.86 MB / 0.6513 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1039/0.8557, allocations: 63.85 MB / 0.7136 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6009/1.457, allocations: 6.326 MB / 0.7198 GB, free: 162.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004125/1.461, allocations: 2.078 MB / 0.7218 GB, free: 161.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01643/1.477, allocations: 9.207 MB / 0.7308 GB, free: 157.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/1.477, allocations: 66.25 kB / 0.7309 GB, free: 157.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 6.162e-06/1.477, allocations: 0 / 0.7309 GB, free: 157.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.05238/1.53, allocations: 21.73 MB / 0.7521 GB, free: 144.7 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/1.53, allocations: 162.4 kB / 0.7523 GB, free: 144.5 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006889/1.537, allocations: 5.767 MB / 0.7579 GB, free: 138.9 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004195/1.537, allocations: 69.7 kB / 0.758 GB, free: 138.8 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002562/1.54, allocations: 5.028 MB / 0.7629 GB, free: 134.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.541, allocations: 1.169 MB / 0.764 GB, free: 132.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001887/1.543, allocations: 1.827 MB / 0.7658 GB, free: 131.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.479e-05/1.543, allocations: 305 kB / 0.7661 GB, free: 130.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003368/1.546, allocations: 2.638 MB / 0.7687 GB, free: 128.1 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005686/1.552, allocations: 8.198 MB / 0.7767 GB, free: 117.3 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/1.563, allocations: 11.77 MB / 0.7882 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002021/1.564, allocations: 56 kB / 0.7882 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02108/1.585, allocations: 10.57 MB / 0.7985 GB, free: 92.12 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002913/1.585, allocations: 92 kB / 0.7986 GB, free: 92.03 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004363/1.586, allocations: 196 kB / 0.7988 GB, free: 91.84 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/1.586, allocations: 264 kB / 0.7991 GB, free: 91.58 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007387/1.593, allocations: 2.211 MB / 0.8012 GB, free: 89.36 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003627/1.594, allocations: 390.5 kB / 0.8016 GB, free: 88.98 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007206/1.601, allocations: 459.5 kB / 0.802 GB, free: 88.53 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/1.603, allocations: 0.5467 MB / 0.8026 GB, free: 87.99 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.006798/1.609, allocations: 3.144 MB / 0.8056 GB, free: 84.83 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/1.611, allocations: 0.5355 MB / 0.8062 GB, free: 84.29 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006146/1.617, allocations: 2.986 MB / 0.8091 GB, free: 81.29 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-05/1.617, allocations: 31.94 kB / 0.8091 GB, free: 81.26 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/1.617, allocations: 8 kB / 0.8091 GB, free: 81.25 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.203e-05/1.617, allocations: 11.95 kB / 0.8091 GB, free: 81.24 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02435/1.642, allocations: 12.27 MB / 0.8211 GB, free: 68.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001057/1.642, allocations: 32 kB / 0.8211 GB, free: 68.47 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/1.644, allocations: 0.5459 MB / 0.8217 GB, free: 67.92 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-05/1.644, allocations: 44.44 kB / 0.8217 GB, free: 67.88 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003619/1.644, allocations: 96 kB / 0.8218 GB, free: 67.79 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.665e-05/1.644, allocations: 63.78 kB / 0.8219 GB, free: 67.72 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-05/1.644, allocations: 51.31 kB / 0.8219 GB, free: 67.68 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007659/1.652, allocations: 5.643 MB / 0.8274 GB, free: 61.5 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002299/1.654, allocations: 0.6028 MB / 0.828 GB, free: 60.88 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001595/1.656, allocations: 91.97 kB / 0.8281 GB, free: 60.79 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003209/1.659, allocations: 139.8 kB / 0.8282 GB, free: 60.65 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004505/1.66, allocations: 275.9 kB / 0.8285 GB, free: 60.38 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000286/1.66, allocations: 116 kB / 0.8286 GB, free: 60.27 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007879/1.668, allocations: 3.577 MB / 0.8321 GB, free: 56.72 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.91e-07/1.668, allocations: 0 / 0.8321 GB, free: 56.72 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009971/1.678, allocations: 1.417 MB / 0.8335 GB, free: 55.3 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.0007848/1.679, allocations: 254.2 kB / 0.8337 GB, free: 55.05 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01019/1.689, allocations: 6.078 MB / 0.8397 GB, free: 49.01 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.418e-05/1.689, allocations: 4 kB / 0.8397 GB, free: 49 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00213/1.691, allocations: 1.376 MB / 0.841 GB, free: 47.63 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005121/1.696, allocations: 0.7583 MB / 0.8417 GB, free: 46.89 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/1.719, allocations: 14.47 MB / 0.8559 GB, free: 31.95 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005575/1.725, allocations: 4.76 MB / 0.8605 GB, free: 27.16 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005447/1.73, allocations: 2.583 MB / 0.8631 GB, free: 24.57 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.732, allocations: 379.4 kB / 0.8634 GB, free: 24.2 MB / 0.5607 GB Notification: Performance of SimCode: time 1.442e-06/1.732, allocations: 0 / 0.8634 GB, free: 24.2 MB / 0.5607 GB Notification: Performance of Templates: time 0.08118/1.813, allocations: 41.21 MB / 0.9037 GB, free: 15.28 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