Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.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.001015/0.001015, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001095/0.001095, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.022/1.022, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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.3227/0.3227, allocations: 34.86 MB / 296.3 MB, free: 0.5352 MB / 266.7 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.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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Damper2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.591e-05, allocations: 3.297 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01229/0.01231, allocations: 15.57 MB / 394.3 MB, free: 2.418 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008907/0.02122, allocations: 4.946 MB / 399.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002341/0.02356, allocations: 115.5 kB / 399.4 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006284/0.02985, allocations: 5.557 MB / 405 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005967/0.03581, allocations: 2.643 MB / 407.6 MB, free: 5.113 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.03816, allocations: 1.326 MB / 408.9 MB, free: 3.785 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008173/0.04634, allocations: 7.771 MB / 416.7 MB, free: 12 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007571/0.05391, allocations: 5.977 MB / 422.7 MB, free: 5.949 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00619/0.0601, allocations: 4.046 MB / 426.7 MB, free: 1.895 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005578/0.06568, allocations: 4.115 MB / 430.8 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002071/0.06775, allocations: 0.5859 MB / 431.4 MB, free: 13.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.07045, allocations: 1.245 MB / 432.7 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003229/0.07368, allocations: 3.475 MB / 436.1 MB, free: 8.453 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004284/0.07797, allocations: 2.224 MB / 438.4 MB, free: 6.223 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2028/0.2808, allocations: 7.237 MB / 445.6 MB, free: 67.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.2808, allocations: 0 / 445.6 MB, free: 67.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2808, allocations: 2.938 kB / 445.6 MB, free: 67.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000426/0.2812, allocations: 0 / 445.6 MB, free: 67.59 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2522 * Number of variables: 2522 Notification: Performance of Generate backend data structure: time 0.01205/0.2933, allocations: 8.376 MB / 454 MB, free: 64.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2933, allocations: 11.84 kB / 454 MB, free: 64.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006658/0.3, allocations: 3.504 MB / 457.5 MB, free: 64.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00616/0.3061, allocations: 3.264 MB / 460.8 MB, free: 63.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/0.3064, allocations: 426.4 kB / 461.2 MB, free: 63.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001409/0.3078, allocations: 0.5451 MB / 461.7 MB, free: 63.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02356/0.3314, allocations: 13.49 MB / 475.2 MB, free: 58.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002879/0.3317, allocations: 69.98 kB / 475.3 MB, free: 58.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000765/0.3324, allocations: 272.5 kB / 475.6 MB, free: 58.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003264/0.3357, allocations: 3.153 MB / 478.7 MB, free: 58.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02122/0.3569, allocations: 8.258 MB / 487 MB, free: 57.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05245/0.4094, allocations: 70.96 MB / 0.5449 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008698/0.4181, allocations: 4.537 MB / 0.5493 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.4195, allocations: 0.9168 MB / 0.5502 GB, free: 9.125 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008203/0.4277, allocations: 5.714 MB / 0.5558 GB, free: 3.473 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007713/0.4354, allocations: 3.822 MB / 0.5595 GB, free: 15.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=260): time 6.382e-06/0.4354, allocations: 0 / 0.5595 GB, free: 15.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=294): time 0.03449/0.4699, allocations: 18.19 MB / 0.5773 GB, free: 13.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.26e-05/0.47, allocations: 162.5 kB / 0.5774 GB, free: 13.24 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00574/0.4757, allocations: 4.901 MB / 0.5822 GB, free: 8.348 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003756/0.4761, allocations: 73.7 kB / 0.5823 GB, free: 8.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003831/0.4799, allocations: 5.229 MB / 0.5874 GB, free: 3.078 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00132/0.4812, allocations: 1.187 MB / 0.5885 GB, free: 1.906 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002022/0.4833, allocations: 1.95 MB / 0.5904 GB, free: 15.95 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4834, allocations: 480.5 kB / 0.5909 GB, free: 15.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.4852, allocations: 0.9684 MB / 0.5918 GB, free: 14.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006598/0.4918, allocations: 9.168 MB / 0.6008 GB, free: 1.648 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/0.5026, allocations: 11.18 MB / 0.6117 GB, free: 2.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002497/0.5029, allocations: 56 kB / 0.6118 GB, free: 2.785 MB / 490.7 MB Notification: Performance of matching and sorting (n=1212) (initialization): time 0.2206/0.7234, allocations: 7.725 MB / 0.6193 GB, free: 145.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.7236, allocations: 116.7 kB / 0.6194 GB, free: 145.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002671/0.7239, allocations: 196.7 kB / 0.6196 GB, free: 145.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/0.7241, allocations: 260.3 kB / 0.6199 GB, free: 145.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005137/0.7292, allocations: 2.232 MB / 0.622 GB, free: 145.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003361/0.7296, allocations: 387.6 kB / 0.6224 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005284/0.7349, allocations: 0.5588 MB / 0.6229 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/0.7362, allocations: 0.5376 MB / 0.6235 GB, free: 145.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 83 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1187): * Single equations (assignments): 1183 * 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.003308/0.7395, allocations: 0.9389 MB / 0.6244 GB, free: 144.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/0.7406, allocations: 0.5588 MB / 0.6249 GB, free: 144.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.7433, allocations: 1.746 MB / 0.6266 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.905e-05/0.7434, allocations: 33.91 kB / 0.6267 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/0.7434, allocations: 2.906 kB / 0.6267 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/0.7434, allocations: 16.59 kB / 0.6267 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/0.76, allocations: 9.089 MB / 0.6356 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-05/0.7601, allocations: 29.97 kB / 0.6356 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.7614, allocations: 0.5605 MB / 0.6361 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.992e-05/0.7615, allocations: 47.7 kB / 0.6362 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002018/0.7617, allocations: 93.47 kB / 0.6363 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.487e-05/0.7618, allocations: 62.92 kB / 0.6363 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-05/0.7618, allocations: 54.84 kB / 0.6364 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005413/0.7672, allocations: 3.868 MB / 0.6402 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/0.7689, allocations: 0.4938 MB / 0.6406 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005974/0.7695, allocations: 99.2 kB / 0.6407 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.7708, allocations: 181.7 kB / 0.6409 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000356/0.7711, allocations: 292.8 kB / 0.6412 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/0.7713, allocations: 120.3 kB / 0.6413 GB, free: 139.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003726/0.7751, allocations: 2.057 MB / 0.6433 GB, free: 139.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.7751, allocations: 1.125 kB / 0.6433 GB, free: 139.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008325/0.7834, allocations: 1.548 MB / 0.6448 GB, free: 139.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (278): * Single equations (assignments): 273 * 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.000912/0.7843, allocations: 279.3 kB / 0.6451 GB, free: 139.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007803/0.7921, allocations: 4.159 MB / 0.6492 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.012e-05/0.7922, allocations: 7.75 kB / 0.6492 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001469/0.7936, allocations: 0.8415 MB / 0.65 GB, free: 137.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/0.7972, allocations: 0.6674 MB / 0.6506 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/0.8165, allocations: 12.78 MB / 0.6631 GB, free: 130.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002401/0.8189, allocations: 1.958 MB / 0.665 GB, free: 129.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003885/0.8228, allocations: 2.216 MB / 0.6672 GB, free: 128.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007742/0.8236, allocations: 366.1 kB / 0.6675 GB, free: 128.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.663e-06/0.8236, allocations: 4 kB / 0.6675 GB, free: 128.2 MB / 490.7 MB Notification: Performance of Templates: time 0.06181/0.8854, allocations: 35.85 MB / 0.7026 GB, free: 98.85 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.397094540763646]