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.001644/0.001644, allocations: 80.34 kB / 20.68 MB, free: 1.035 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.001812/0.001812, allocations: 157.8 kB / 23.95 MB, free: 4.168 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.519/1.519, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.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.2252/0.2252, allocations: 34.26 MB / 294.8 MB, free: 14.53 MB / 286.1 MB " [Timeout remaining time 180] 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 1.232e-06/1.232e-06, allocations: 0 / 442.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.064e-05, allocations: 6.219 kB / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.2104/0.2105, allocations: 13.98 MB / 456.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.223, allocations: 4.792 MB / 461.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004815/0.2278, allocations: 118.6 kB / 461.6 MB, free: 8.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.2401, allocations: 5.289 MB / 466.9 MB, free: 6.262 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008737/0.2488, allocations: 2.622 MB / 469.5 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003213/0.2521, allocations: 1.302 MB / 470.8 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01014/0.2622, allocations: 7.704 MB / 478.5 MB, free: 216 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00894/0.2711, allocations: 5.776 MB / 484.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009862/0.281, allocations: 4.023 MB / 488.3 MB, free: 8.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007494/0.2885, allocations: 4.022 MB / 492.3 MB, free: 4.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001591/0.2901, allocations: 0.582 MB / 492.9 MB, free: 3.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003163/0.2932, allocations: 1.256 MB / 494.1 MB, free: 2.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003776/0.297, allocations: 3.44 MB / 497.6 MB, free: 14.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004549/0.3016, allocations: 2.2 MB / 499.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01741/0.319, allocations: 11.22 MB / 0.499 GB, free: 1.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.319, allocations: 0 / 0.499 GB, free: 1.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.319, allocations: 0 / 0.499 GB, free: 1.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004113/0.3194, allocations: 0 / 0.499 GB, free: 1.453 MB / 398.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.02152/0.3409, allocations: 7.78 MB / 0.5066 GB, free: 9.598 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.341, allocations: 12.03 kB / 0.5066 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01365/0.3546, allocations: 2.882 MB / 0.5094 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00956/0.3642, allocations: 3.509 MB / 0.5129 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005532/0.3647, allocations: 423.3 kB / 0.5133 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002026/0.3668, allocations: 0.547 MB / 0.5138 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04885/0.4156, allocations: 19.89 MB / 0.5332 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003343/0.4159, allocations: 79.33 kB / 0.5333 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001917/0.4179, allocations: 272.7 kB / 0.5336 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005945/0.4238, allocations: 3.145 MB / 0.5366 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04266/0.4665, allocations: 15.82 MB / 0.5521 GB, free: 9.793 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0913/0.5578, allocations: 59.91 MB / 0.6106 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02061/0.5784, allocations: 5.931 MB / 0.6164 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004172/0.5825, allocations: 1.867 MB / 0.6182 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01779/0.6003, allocations: 7.637 MB / 0.6257 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.407e-05/0.6004, allocations: 60.56 kB / 0.6257 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 5.931e-06/0.6004, allocations: 0 / 0.6257 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.4554/1.056, allocations: 22.36 MB / 0.6476 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/1.056, allocations: 161.1 kB / 0.6477 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009596/1.065, allocations: 5.52 MB / 0.6531 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005269/1.066, allocations: 71.34 kB / 0.6532 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003117/1.069, allocations: 5.023 MB / 0.6581 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001363/1.07, allocations: 1.145 MB / 0.6592 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002511/1.073, allocations: 1.801 MB / 0.661 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/1.073, allocations: 307 kB / 0.6612 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00535/1.078, allocations: 2.635 MB / 0.6638 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008626/1.087, allocations: 8.199 MB / 0.6718 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/1.099, allocations: 11.75 MB / 0.6833 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002276/1.099, allocations: 54.44 kB / 0.6834 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.0193/1.118, allocations: 10.52 MB / 0.6936 GB, free: 133 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/1.119, allocations: 88 kB / 0.6937 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002736/1.119, allocations: 196 kB / 0.6939 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000202/1.119, allocations: 264 kB / 0.6941 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007773/1.127, allocations: 2.236 MB / 0.6963 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003804/1.127, allocations: 387.8 kB / 0.6967 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/1.138, allocations: 0.6008 MB / 0.6973 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001944/1.139, allocations: 0.5389 MB / 0.6978 GB, free: 129.2 MB / 0.5294 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.00609/1.146, allocations: 3.14 MB / 0.7009 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/1.147, allocations: 488.8 kB / 0.7013 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004541/1.152, allocations: 2.885 MB / 0.7042 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/1.152, allocations: 28 kB / 0.7042 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/1.152, allocations: 4 kB / 0.7042 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.707e-05/1.152, allocations: 13.92 kB / 0.7042 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/1.168, allocations: 10.16 MB / 0.7141 GB, free: 113.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/1.168, allocations: 32 kB / 0.7142 GB, free: 113.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/1.17, allocations: 0.546 MB / 0.7147 GB, free: 112.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.99e-05/1.17, allocations: 44.44 kB / 0.7147 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/1.17, allocations: 95.92 kB / 0.7148 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.151e-05/1.17, allocations: 63.78 kB / 0.7149 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.835e-05/1.17, allocations: 47.81 kB / 0.7149 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006081/1.176, allocations: 5.498 MB / 0.7203 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/1.178, allocations: 0.4967 MB / 0.7208 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007044/1.179, allocations: 101.9 kB / 0.7209 GB, free: 106 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002308/1.181, allocations: 219.7 kB / 0.7211 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/1.181, allocations: 279.8 kB / 0.7214 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.181, allocations: 123.9 kB / 0.7215 GB, free: 105.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004508/1.186, allocations: 3.168 MB / 0.7246 GB, free: 102.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/1.186, allocations: 0 / 0.7246 GB, free: 102.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008689/1.195, allocations: 1.539 MB / 0.7261 GB, free: 100.7 MB / 0.5294 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.000807/1.195, allocations: 281.4 kB / 0.7263 GB, free: 100.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009885/1.205, allocations: 5.819 MB / 0.732 GB, free: 94.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-05/1.205, allocations: 4 kB / 0.732 GB, free: 94.63 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/1.207, allocations: 1.305 MB / 0.7333 GB, free: 93.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004797/1.212, allocations: 0.6324 MB / 0.7339 GB, free: 92.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/1.232, allocations: 14.2 MB / 0.7478 GB, free: 78.08 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004994/1.237, allocations: 4.271 MB / 0.752 GB, free: 73.78 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005229/1.242, allocations: 2.517 MB / 0.7544 GB, free: 71.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009988/1.243, allocations: 364.4 kB / 0.7548 GB, free: 70.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.573e-06/1.243, allocations: 0 / 0.7548 GB, free: 70.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.07034/1.314, allocations: 34.9 MB / 0.7888 GB, free: 36.78 MB / 0.5294 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: 7.98643809184432]