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.0009522/0.0009522, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001167/0.001167, allocations: 165.8 kB / 24.84 MB, free: 9.293 MB / 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.9733/0.9733, allocations: 158.6 MB / 186.7 MB, free: 2.801 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.1472/0.1472, allocations: 32.37 MB / 271.5 MB, free: 14.54 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 1.813e-06/1.813e-06, allocations: 3.938 kB / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.921e-05, allocations: 2.312 kB / 348.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01147/0.0115, allocations: 16.58 MB / 365.5 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.02172, allocations: 5.15 MB / 370.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003196/0.02491, allocations: 119.5 kB / 370.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006671/0.03158, allocations: 5.552 MB / 376.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007052/0.03864, allocations: 2.946 MB / 379.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.04153, allocations: 1.337 MB / 380.6 MB, free: 9.344 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01179/0.05332, allocations: 8.056 MB / 388.7 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008193/0.06151, allocations: 6.227 MB / 394.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008894/0.0704, allocations: 4.46 MB / 399.4 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006827/0.07723, allocations: 4.33 MB / 403.7 MB, free: 2.156 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002225/0.07946, allocations: 0.6289 MB / 404.3 MB, free: 1.527 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/0.08305, allocations: 1.311 MB / 405.6 MB, free: 220 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004303/0.08735, allocations: 3.779 MB / 409.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005035/0.09239, allocations: 2.407 MB / 411.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.1044, allocations: 7.892 MB / 419.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1044, allocations: 0 / 419.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1044, allocations: 3.984 kB / 419.7 MB, free: 2.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004368/0.1048, allocations: 0 / 419.7 MB, free: 2.086 MB / 346.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.0147/0.1195, allocations: 8.627 MB / 428.3 MB, free: 9.363 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1196, allocations: 12.03 kB / 428.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006776/0.1263, allocations: 2.598 MB / 430.9 MB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008191/0.1345, allocations: 3.18 MB / 434.1 MB, free: 3.512 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005661/0.1351, allocations: 452 kB / 434.6 MB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002611/0.1377, allocations: 0.5937 MB / 435.2 MB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3148/0.4525, allocations: 10.51 MB / 445.7 MB, free: 78.03 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003006/0.4528, allocations: 67.61 kB / 445.7 MB, free: 78.03 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008395/0.4537, allocations: 285.2 kB / 446 MB, free: 78.03 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003464/0.4571, allocations: 3.147 MB / 449.2 MB, free: 78.02 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/0.4739, allocations: 4.978 MB / 454.1 MB, free: 76.78 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05545/0.5293, allocations: 73.01 MB / 0.5148 GB, free: 3.355 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00817/0.5375, allocations: 3.78 MB / 0.5185 GB, free: 15.52 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.5392, allocations: 0.8677 MB / 0.5193 GB, free: 14.63 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/0.5497, allocations: 5.814 MB / 0.525 GB, free: 8.961 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006716/0.5565, allocations: 3.239 MB / 0.5282 GB, free: 5.629 MB / 378.8 MB Notification: Performance of pre-optimization done (n=299): time 7.334e-06/0.5565, allocations: 0 / 0.5282 GB, free: 5.629 MB / 378.8 MB Notification: Performance of matching and sorting (n=333): time 0.03143/0.5879, allocations: 12.29 MB / 0.5402 GB, free: 9.695 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/0.588, allocations: 166.7 kB / 0.5403 GB, free: 9.5 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005334/0.5933, allocations: 5.171 MB / 0.5454 GB, free: 4.469 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004087/0.5937, allocations: 89.08 kB / 0.5455 GB, free: 4.379 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004583/0.5983, allocations: 5.68 MB / 0.551 GB, free: 14.66 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001614/0.5999, allocations: 1.345 MB / 0.5523 GB, free: 13.3 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003206/0.6031, allocations: 2.126 MB / 0.5544 GB, free: 11.16 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.6033, allocations: 476.8 kB / 0.5549 GB, free: 10.7 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003198/0.6065, allocations: 0.9543 MB / 0.5558 GB, free: 9.73 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008973/0.6155, allocations: 9.745 MB / 0.5653 GB, free: 11.98 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/0.6265, allocations: 11.71 MB / 0.5767 GB, free: 12.26 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002095/0.6267, allocations: 60 kB / 0.5768 GB, free: 12.2 MB / 442.8 MB Notification: Performance of matching and sorting (n=1314) (initialization): time 0.01442/0.6411, allocations: 7.786 MB / 0.5844 GB, free: 4.363 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.6413, allocations: 122 kB / 0.5845 GB, free: 4.238 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002278/0.6415, allocations: 208 kB / 0.5847 GB, free: 4.035 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.6417, allocations: 280 kB / 0.585 GB, free: 3.762 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005127/0.6468, allocations: 2.347 MB / 0.5873 GB, free: 1.41 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002443/0.6471, allocations: 418.1 kB / 0.5877 GB, free: 1.004 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005375/0.6524, allocations: 447.6 kB / 0.5881 GB, free: 0.5664 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/0.6537, allocations: 0.5039 MB / 0.5886 GB, free: 64 kB / 442.8 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.1691/0.8228, allocations: 0.9889 MB / 0.5896 GB, free: 133.1 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/0.8241, allocations: 0.6052 MB / 0.5902 GB, free: 133.1 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/0.8268, allocations: 1.846 MB / 0.592 GB, free: 132.9 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/0.8269, allocations: 35.31 kB / 0.592 GB, free: 132.9 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.8269, allocations: 6.844 kB / 0.592 GB, free: 132.9 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.527e-05/0.8269, allocations: 22.09 kB / 0.592 GB, free: 132.9 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/0.8437, allocations: 9.773 MB / 0.6016 GB, free: 130.6 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.007e-05/0.8437, allocations: 30.72 kB / 0.6016 GB, free: 130.6 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.8451, allocations: 0.6083 MB / 0.6022 GB, free: 130.6 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.509e-05/0.8451, allocations: 48.34 kB / 0.6022 GB, free: 130.6 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.8452, allocations: 108.2 kB / 0.6023 GB, free: 130.6 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-05/0.8453, allocations: 73.56 kB / 0.6024 GB, free: 130.6 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.619e-05/0.8453, allocations: 48.91 kB / 0.6025 GB, free: 130.6 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003649/0.849, allocations: 4.054 MB / 0.6064 GB, free: 128 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/0.8505, allocations: 0.6939 MB / 0.6071 GB, free: 127.8 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005624/0.8511, allocations: 104.8 kB / 0.6072 GB, free: 127.8 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.8524, allocations: 108.9 kB / 0.6073 GB, free: 127.8 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/0.8527, allocations: 320.2 kB / 0.6076 GB, free: 127.8 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/0.8529, allocations: 113.7 kB / 0.6077 GB, free: 127.8 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002347/0.8552, allocations: 2.044 MB / 0.6097 GB, free: 127.5 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.4e-07/0.8552, allocations: 0 / 0.6097 GB, free: 127.5 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.007961/0.8632, allocations: 1.726 MB / 0.6114 GB, free: 127.5 MB / 442.8 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.0008957/0.8641, allocations: 307 kB / 0.6117 GB, free: 127.4 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006407/0.8705, allocations: 4.251 MB / 0.6158 GB, free: 126.5 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-05/0.8705, allocations: 7.75 kB / 0.6158 GB, free: 126.5 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.8717, allocations: 0.8917 MB / 0.6167 GB, free: 126.4 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/0.875, allocations: 0.7032 MB / 0.6174 GB, free: 126.1 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/0.8946, allocations: 13.92 MB / 0.631 GB, free: 112.7 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00269/0.8973, allocations: 2.133 MB / 0.6331 GB, free: 111.2 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002535/0.8998, allocations: 0.8311 MB / 0.6339 GB, free: 110.6 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/0.9011, allocations: 0.9482 MB / 0.6348 GB, free: 109.7 MB / 442.8 MB Notification: Performance of SimCode: time 2.114e-06/0.9011, allocations: 0 / 0.6348 GB, free: 109.7 MB / 442.8 MB Notification: Performance of Templates: time 0.0724/0.9735, allocations: 45.32 MB / 0.6791 GB, free: 64.91 MB / 442.8 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 -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: 5.499050058890134]