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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001797/0.001797, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001861/0.001861, allocations: 206.1 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2494/0.2494, allocations: 46.94 MB / 360.8 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 75.88 kB / 0.4966 GB, free: 7.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3959, allocations: 66.09 MB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.0184/0.4143, allocations: 13.97 MB / 0.5748 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.4264, allocations: 4.791 MB / 0.5795 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002948/0.4293, allocations: 115.5 kB / 0.5796 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01045/0.4398, allocations: 5.023 MB / 0.5845 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009889/0.4497, allocations: 2.552 MB / 0.587 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003258/0.4529, allocations: 1.186 MB / 0.5882 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0107/0.4636, allocations: 6.656 MB / 0.5947 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007691/0.4713, allocations: 5.023 MB / 0.5996 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005734/0.477, allocations: 2.629 MB / 0.6021 GB, free: 9.805 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007367/0.4844, allocations: 3.68 MB / 0.6057 GB, free: 6.113 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002622/0.487, allocations: 0.5742 MB / 0.6063 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00412/0.4911, allocations: 1.178 MB / 0.6075 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005662/0.4968, allocations: 3.288 MB / 0.6107 GB, free: 1.062 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007318/0.5041, allocations: 2.75 MB / 0.6134 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01988/0.524, allocations: 11.2 MB / 0.6243 GB, free: 3.051 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.524, allocations: 4 kB / 0.6243 GB, free: 3.047 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.524, allocations: 0 / 0.6243 GB, free: 3.047 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005444/0.5246, allocations: 4 kB / 0.6243 GB, free: 3.043 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.02632/0.5509, allocations: 7.705 MB / 0.6318 GB, free: 11.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.5509, allocations: 12.03 kB / 0.6318 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/0.5629, allocations: 2.633 MB / 0.6344 GB, free: 8.613 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/0.5737, allocations: 3.533 MB / 0.6378 GB, free: 5.027 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000607/0.5743, allocations: 440.2 kB / 0.6383 GB, free: 4.598 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002612/0.5769, allocations: 0.5466 MB / 0.6388 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05099/0.6279, allocations: 19.87 MB / 0.6582 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003989/0.6283, allocations: 79.33 kB / 0.6583 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002263/0.6305, allocations: 263.8 kB / 0.6585 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005651/0.6362, allocations: 3.153 MB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04386/0.68, allocations: 15.82 MB / 0.6771 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4495/1.13, allocations: 59.7 MB / 0.7354 GB, free: 139 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01746/1.147, allocations: 5.675 MB / 0.7409 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002908/1.15, allocations: 1.893 MB / 0.7428 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01235/1.162, allocations: 7.502 MB / 0.7501 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/1.162, allocations: 62.12 kB / 0.7501 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=257): time 6.542e-06/1.162, allocations: 0 / 0.7501 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=291): time 0.05108/1.213, allocations: 21.53 MB / 0.7712 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/1.213, allocations: 162 kB / 0.7713 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0065/1.22, allocations: 5.301 MB / 0.7765 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000874/1.221, allocations: 69.7 kB / 0.7766 GB, free: 119 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003096/1.224, allocations: 5.067 MB / 0.7815 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/1.225, allocations: 1.162 MB / 0.7826 GB, free: 113 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001907/1.227, allocations: 1.827 MB / 0.7844 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.803e-05/1.227, allocations: 305.1 kB / 0.7847 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003391/1.23, allocations: 2.634 MB / 0.7873 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005187/1.236, allocations: 8.198 MB / 0.7953 GB, free: 97.33 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/1.246, allocations: 11.76 MB / 0.8068 GB, free: 83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001439/1.246, allocations: 56 kB / 0.8068 GB, free: 82.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01672/1.262, allocations: 10.52 MB / 0.8171 GB, free: 72.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/1.263, allocations: 88.97 kB / 0.8172 GB, free: 72.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001659/1.263, allocations: 199.9 kB / 0.8174 GB, free: 72.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/1.263, allocations: 268 kB / 0.8176 GB, free: 71.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006423/1.269, allocations: 2.203 MB / 0.8198 GB, free: 69.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002158/1.27, allocations: 390.5 kB / 0.8202 GB, free: 69.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006425/1.276, allocations: 455.6 kB / 0.8206 GB, free: 68.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001313/1.277, allocations: 0.5468 MB / 0.8211 GB, free: 68.3 MB / 0.5606 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.00504/1.282, allocations: 3.145 MB / 0.8242 GB, free: 65.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.283, allocations: 484.8 kB / 0.8247 GB, free: 64.67 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/1.288, allocations: 2.934 MB / 0.8275 GB, free: 61.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.3e-05/1.288, allocations: 35.94 kB / 0.8276 GB, free: 61.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/1.288, allocations: 0 / 0.8276 GB, free: 61.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/1.288, allocations: 15.95 kB / 0.8276 GB, free: 61.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/1.307, allocations: 10.08 MB / 0.8374 GB, free: 51.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-05/1.307, allocations: 32 kB / 0.8375 GB, free: 51.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/1.309, allocations: 0.5466 MB / 0.838 GB, free: 50.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.314e-05/1.309, allocations: 44 kB / 0.838 GB, free: 50.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/1.309, allocations: 95.27 kB / 0.8381 GB, free: 50.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.418e-05/1.309, allocations: 63.78 kB / 0.8382 GB, free: 50.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.116e-05/1.309, allocations: 48.28 kB / 0.8382 GB, free: 50.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00577/1.315, allocations: 5.559 MB / 0.8437 GB, free: 44.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.316, allocations: 460.6 kB / 0.8441 GB, free: 43.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000475/1.316, allocations: 95.97 kB / 0.8442 GB, free: 43.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/1.318, allocations: 143.9 kB / 0.8443 GB, free: 43.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/1.318, allocations: 279.7 kB / 0.8446 GB, free: 43.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.319, allocations: 123.6 kB / 0.8447 GB, free: 43.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004158/1.323, allocations: 2.991 MB / 0.8476 GB, free: 40.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/1.323, allocations: 0 / 0.8476 GB, free: 40.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007242/1.33, allocations: 1.398 MB / 0.849 GB, free: 38.8 MB / 0.5606 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.0005425/1.331, allocations: 258.1 kB / 0.8492 GB, free: 38.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008574/1.339, allocations: 5.819 MB / 0.8549 GB, free: 32.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.163e-05/1.339, allocations: 4 kB / 0.8549 GB, free: 32.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/1.341, allocations: 1.31 MB / 0.8562 GB, free: 31.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004092/1.345, allocations: 0.6286 MB / 0.8568 GB, free: 30.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/1.367, allocations: 14.42 MB / 0.8709 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006101/1.373, allocations: 4.267 MB / 0.8751 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005538/1.378, allocations: 2.508 MB / 0.8775 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009844/1.379, allocations: 343.4 kB / 0.8778 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of SimCode: time 1.563e-06/1.379, allocations: 4 kB / 0.8778 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of Templates: time 0.08835/1.468, allocations: 40.22 MB / 0.9171 GB, free: 1.336 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.328019613400102]