Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009322/0.0009322, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8634/0.8634, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1681/0.1681, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 4 kB / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.49e-05, allocations: 2.312 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.1553/0.1553, allocations: 16.61 MB / 315.7 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01226/0.1676, allocations: 5.382 MB / 321.1 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003724/0.1713, allocations: 123.6 kB / 321.2 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006527/0.1778, allocations: 5.552 MB / 326.8 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006826/0.1847, allocations: 2.911 MB / 329.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.1873, allocations: 1.337 MB / 331 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009183/0.1965, allocations: 8.052 MB / 339.1 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007152/0.2036, allocations: 6.054 MB / 345.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007225/0.2109, allocations: 4.358 MB / 349.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0068/0.2177, allocations: 4.15 MB / 353.7 MB, free: 7.438 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002244/0.2199, allocations: 0.625 MB / 354.3 MB, free: 6.812 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003411/0.2233, allocations: 1.346 MB / 355.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003949/0.2273, allocations: 3.779 MB / 359.4 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004821/0.2321, allocations: 2.407 MB / 361.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.2433, allocations: 7.885 MB / 369.7 MB, free: 7.348 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.2433, allocations: 0 / 369.7 MB, free: 7.348 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.2433, allocations: 0 / 369.7 MB, free: 7.348 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004454/0.2438, allocations: 0 / 369.7 MB, free: 7.348 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.01297/0.2567, allocations: 7.798 MB / 377.5 MB, free: 15.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2568, allocations: 8.031 kB / 377.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00726/0.264, allocations: 1.928 MB / 379.4 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005472/0.2695, allocations: 2.956 MB / 382.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003818/0.2699, allocations: 459.9 kB / 382.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/0.2712, allocations: 0.5945 MB / 383.4 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02153/0.2927, allocations: 9.373 MB / 392.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002417/0.2929, allocations: 76.34 kB / 392.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007906/0.2937, allocations: 279.8 kB / 393.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004343/0.2981, allocations: 3.148 MB / 396.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01548/0.3135, allocations: 4.841 MB / 401.1 MB, free: 6.574 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05578/0.3693, allocations: 52.53 MB / 453.7 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008207/0.3775, allocations: 3.448 MB / 457.1 MB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.3789, allocations: 0.7425 MB / 457.9 MB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01015/0.3891, allocations: 5.432 MB / 463.3 MB, free: 6.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006088/0.3951, allocations: 2.873 MB / 466.2 MB, free: 3.613 MB / 426.7 MB Notification: Performance of pre-optimization done (n=299): time 8.185e-06/0.3952, allocations: 0 / 466.2 MB, free: 3.613 MB / 426.7 MB Notification: Performance of matching and sorting (n=333): time 0.1826/0.5777, allocations: 10.77 MB / 476.9 MB, free: 137.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/0.5778, allocations: 170.2 kB / 477.1 MB, free: 137.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007115/0.5849, allocations: 4.69 MB / 481.8 MB, free: 136.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004874/0.5854, allocations: 74.14 kB / 481.9 MB, free: 136.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003702/0.5891, allocations: 5.174 MB / 487 MB, free: 133.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001379/0.5905, allocations: 1.3 MB / 488.3 MB, free: 132.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002627/0.5931, allocations: 1.873 MB / 490.2 MB, free: 132.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.96e-05/0.5932, allocations: 306.1 kB / 490.5 MB, free: 131.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/0.5954, allocations: 1.204 MB / 491.7 MB, free: 131.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004028/0.5994, allocations: 6.948 MB / 498.7 MB, free: 123.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007602/0.607, allocations: 9.053 MB / 0.4958 GB, free: 114.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002032/0.6072, allocations: 62.31 kB / 0.4959 GB, free: 114.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=1314) (initialization): time 0.01025/0.6174, allocations: 6.564 MB / 0.5023 GB, free: 111.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.6176, allocations: 125.7 kB / 0.5024 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001797/0.6178, allocations: 209.9 kB / 0.5026 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001543/0.6179, allocations: 276 kB / 0.5029 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00507/0.623, allocations: 2.489 MB / 0.5053 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002907/0.6233, allocations: 410.4 kB / 0.5057 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005754/0.629, allocations: 451.6 kB / 0.5061 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001131/0.6302, allocations: 0.4971 MB / 0.5066 GB, free: 107.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 952 * Number of states: 0 () * Number of discrete variables: 77 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1289): * Single equations (assignments): 1285 * 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.003241/0.6334, allocations: 0.9482 MB / 0.5075 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/0.6346, allocations: 375.6 kB / 0.5079 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.6364, allocations: 1.532 MB / 0.5094 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/0.6364, allocations: 43.98 kB / 0.5094 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.6364, allocations: 0 / 0.5094 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.6364, allocations: 15.95 kB / 0.5095 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.6483, allocations: 8.405 MB / 0.5177 GB, free: 95.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-05/0.6483, allocations: 32 kB / 0.5177 GB, free: 95.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.6497, allocations: 0.6721 MB / 0.5183 GB, free: 94.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-05/0.6497, allocations: 50.62 kB / 0.5184 GB, free: 94.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.6499, allocations: 95.98 kB / 0.5185 GB, free: 94.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.46e-05/0.6499, allocations: 67.78 kB / 0.5186 GB, free: 94.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.755e-05/0.6499, allocations: 55.69 kB / 0.5186 GB, free: 94.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/0.6528, allocations: 3.425 MB / 0.5219 GB, free: 89.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/0.6546, allocations: 0.6447 MB / 0.5226 GB, free: 89.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006013/0.6552, allocations: 104 kB / 0.5227 GB, free: 89.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.6564, allocations: 108 kB / 0.5228 GB, free: 89.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.6566, allocations: 319.9 kB / 0.5231 GB, free: 88.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.6567, allocations: 120 kB / 0.5232 GB, free: 88.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002307/0.6591, allocations: 1.955 MB / 0.5251 GB, free: 86.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6591, allocations: 4 kB / 0.5251 GB, free: 86.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007915/0.667, allocations: 1.719 MB / 0.5268 GB, free: 85 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (320): * Single equations (assignments): 315 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006666/0.6676, allocations: 283.2 kB / 0.5271 GB, free: 84.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005505/0.6731, allocations: 3.981 MB / 0.5309 GB, free: 80.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004313/0.6736, allocations: 124.2 kB / 0.5311 GB, free: 80.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.6746, allocations: 0.8123 MB / 0.5319 GB, free: 79.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003538/0.6782, allocations: 0.692 MB / 0.5325 GB, free: 79.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/0.6977, allocations: 13.85 MB / 0.5461 GB, free: 64.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002927/0.7006, allocations: 2.123 MB / 0.5481 GB, free: 62.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002823/0.7034, allocations: 0.8348 MB / 0.5489 GB, free: 61.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/0.7048, allocations: 0.8916 MB / 0.5498 GB, free: 60.84 MB / 426.7 MB Notification: Performance of SimCode: time 2.154e-06/0.7048, allocations: 0 / 0.5498 GB, free: 60.84 MB / 426.7 MB Notification: Performance of Templates: time 0.07006/0.7749, allocations: 44.22 MB / 0.593 GB, free: 16.72 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7991899396292865]