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.001452/0.001452, allocations: 88.23 kB / 20.21 MB, free: 4.227 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.001641/0.001641, allocations: 157.7 kB / 23.52 MB, free: 0.918 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 1.472/1.472, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2347/0.2347, allocations: 32.37 MB / 270 MB, free: 14.77 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.703e-06/1.703e-06, allocations: 0 / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.865e-05, allocations: 10.25 kB / 347 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01596/0.01599, allocations: 15.33 MB / 362.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.0297, allocations: 5.072 MB / 367.4 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002911/0.03261, allocations: 119.5 kB / 367.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01226/0.04487, allocations: 5.459 MB / 372.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009515/0.05439, allocations: 2.927 MB / 375.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004364/0.05875, allocations: 1.345 MB / 377.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01451/0.07326, allocations: 8.046 MB / 385.2 MB, free: 3.355 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01169/0.08495, allocations: 6.231 MB / 391.5 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01118/0.09613, allocations: 4.343 MB / 395.8 MB, free: 8.691 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009265/0.1054, allocations: 4.376 MB / 400.2 MB, free: 4.305 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002591/0.108, allocations: 0.6406 MB / 400.8 MB, free: 3.664 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005581/0.1136, allocations: 1.331 MB / 402.2 MB, free: 2.332 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005961/0.1195, allocations: 3.779 MB / 405.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005842/0.1254, allocations: 2.415 MB / 408.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02039/0.1458, allocations: 12.42 MB / 420.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.1458, allocations: 0 / 420.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1458, allocations: 0 / 420.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000633/0.1464, allocations: 0 / 420.8 MB, free: 15.66 MB / 362.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.02426/0.1707, allocations: 8.504 MB / 429.3 MB, free: 7.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.1707, allocations: 12.03 kB / 429.3 MB, free: 7.062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/0.1856, allocations: 3.889 MB / 433.2 MB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2866/0.4722, allocations: 3.895 MB / 437.1 MB, free: 85.84 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006131/0.4728, allocations: 454.6 kB / 437.5 MB, free: 85.8 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003839/0.4766, allocations: 0.5967 MB / 438.1 MB, free: 85.66 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04348/0.5201, allocations: 21.37 MB / 459.5 MB, free: 69.72 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002004/0.5203, allocations: 69.11 kB / 459.6 MB, free: 69.66 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000902/0.5212, allocations: 284.8 kB / 459.8 MB, free: 69.45 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004571/0.5258, allocations: 3.54 MB / 463.4 MB, free: 65.92 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03734/0.5631, allocations: 17.17 MB / 480.6 MB, free: 48.79 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08697/0.6501, allocations: 63.37 MB / 0.5312 GB, free: 0.4922 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02007/0.6702, allocations: 6.312 MB / 0.5373 GB, free: 10.14 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004689/0.6748, allocations: 2.128 MB / 0.5394 GB, free: 8 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01817/0.693, allocations: 8.311 MB / 0.5475 GB, free: 15.8 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0162/0.7092, allocations: 4.801 MB / 0.5522 GB, free: 10.92 MB / 410.8 MB Notification: Performance of pre-optimization done (n=299): time 6.652e-06/0.7092, allocations: 0 / 0.5522 GB, free: 10.92 MB / 410.8 MB Notification: Performance of matching and sorting (n=333): time 0.07324/0.7825, allocations: 24.21 MB / 0.5759 GB, free: 3.02 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/0.7826, allocations: 170.6 kB / 0.576 GB, free: 2.82 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/0.7938, allocations: 5.894 MB / 0.5818 GB, free: 12.98 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006534/0.7944, allocations: 77.7 kB / 0.5819 GB, free: 12.9 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007207/0.8016, allocations: 5.487 MB / 0.5872 GB, free: 7.363 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002397/0.804, allocations: 1.318 MB / 0.5885 GB, free: 6.035 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00385/0.8079, allocations: 1.926 MB / 0.5904 GB, free: 4.098 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.8081, allocations: 301.1 kB / 0.5907 GB, free: 3.801 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006451/0.8145, allocations: 2.914 MB / 0.5935 GB, free: 0.875 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1397/0.9542, allocations: 8.735 MB / 0.602 GB, free: 142.8 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01442/0.9686, allocations: 12.6 MB / 0.6143 GB, free: 132.2 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003077/0.9689, allocations: 58.81 kB / 0.6144 GB, free: 132.2 MB / 442.8 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02392/0.9928, allocations: 11.9 MB / 0.626 GB, free: 127.8 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.993, allocations: 121.6 kB / 0.6261 GB, free: 127.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002903/0.9933, allocations: 201.9 kB / 0.6263 GB, free: 127.8 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000253/0.9936, allocations: 281.3 kB / 0.6266 GB, free: 127.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007684/1.001, allocations: 2.395 MB / 0.6289 GB, free: 126 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002395/1.001, allocations: 407 kB / 0.6293 GB, free: 125.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007802/1.009, allocations: 0.651 MB / 0.63 GB, free: 125.1 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/1.011, allocations: 0.5777 MB / 0.6305 GB, free: 124.5 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * 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 (1271): * Single equations (assignments): 1267 * 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.005771/1.016, allocations: 3.403 MB / 0.6338 GB, free: 121.7 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.018, allocations: 0.5935 MB / 0.6344 GB, free: 121.4 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005409/1.023, allocations: 3.406 MB / 0.6378 GB, free: 118.4 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.365e-05/1.023, allocations: 36 kB / 0.6378 GB, free: 118.4 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.023, allocations: 0 / 0.6378 GB, free: 118.4 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/1.023, allocations: 15 kB / 0.6378 GB, free: 118.4 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/1.041, allocations: 11.42 MB / 0.649 GB, free: 107.9 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.524e-05/1.041, allocations: 35.98 kB / 0.649 GB, free: 107.9 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/1.043, allocations: 0.6593 MB / 0.6496 GB, free: 107.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.134e-05/1.043, allocations: 48 kB / 0.6497 GB, free: 107.1 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/1.043, allocations: 107.6 kB / 0.6498 GB, free: 107 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.127e-05/1.043, allocations: 67.72 kB / 0.6498 GB, free: 107 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-05/1.043, allocations: 51.81 kB / 0.6499 GB, free: 106.9 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00708/1.051, allocations: 6.195 MB / 0.6559 GB, free: 100.4 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/1.053, allocations: 0.7873 MB / 0.6567 GB, free: 99.86 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008197/1.053, allocations: 99.97 kB / 0.6568 GB, free: 99.76 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/1.056, allocations: 247.7 kB / 0.657 GB, free: 99.52 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003613/1.056, allocations: 320 kB / 0.6573 GB, free: 99.2 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.057, allocations: 136 kB / 0.6575 GB, free: 99.07 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.004421/1.061, allocations: 3.402 MB / 0.6608 GB, free: 95.68 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.1e-07/1.061, allocations: 0 / 0.6608 GB, free: 95.68 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.00779/1.069, allocations: 1.723 MB / 0.6625 GB, free: 93.98 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.0006253/1.069, allocations: 304.1 kB / 0.6628 GB, free: 93.7 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.009576/1.079, allocations: 6.454 MB / 0.6691 GB, free: 87.27 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.202e-05/1.079, allocations: 4 kB / 0.6691 GB, free: 87.26 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003041/1.082, allocations: 1.794 MB / 0.6708 GB, free: 85.47 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003914/1.086, allocations: 0.6965 MB / 0.6715 GB, free: 84.8 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02329/1.109, allocations: 15.87 MB / 0.687 GB, free: 68.43 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005334/1.115, allocations: 4.666 MB / 0.6916 GB, free: 63.73 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.005761/1.12, allocations: 2.695 MB / 0.6942 GB, free: 61.02 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.121, allocations: 404.3 kB / 0.6946 GB, free: 60.62 MB / 442.8 MB Notification: Performance of SimCode: time 1.593e-06/1.121, allocations: 0 / 0.6946 GB, free: 60.62 MB / 442.8 MB Notification: Performance of Templates: time 0.07444/1.196, allocations: 39.66 MB / 0.7333 GB, free: 21.15 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.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.1867249479983]