Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.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.0009298/0.0009298, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001066/0.001066, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.011/1.011, allocations: 177.1 MB / 205 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle") translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 273 MB, free: 1.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.686e-05, allocations: 4.984 kB / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.005963/0.005989, allocations: 6.094 MB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003653/0.009642, allocations: 2.263 MB / 281.3 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006512/0.01029, allocations: 35.75 kB / 281.4 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008516/0.01114, allocations: 441.1 kB / 281.8 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.01218, allocations: 0.5199 MB / 282.3 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.01295, allocations: 494.9 kB / 282.8 MB, free: 7.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.0142, allocations: 1.554 MB / 284.4 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008005/0.015, allocations: 349.1 kB / 284.7 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.01603, allocations: 0.8301 MB / 285.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000539/0.01657, allocations: 0.5258 MB / 286.1 MB, free: 4.223 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.0167, allocations: 132 kB / 286.2 MB, free: 4.094 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.01697, allocations: 179.9 kB / 286.4 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.01719, allocations: 318.8 kB / 286.7 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003435/0.01753, allocations: 438.8 kB / 287.1 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009791/0.01851, allocations: 0.9845 MB / 288.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.01851, allocations: 0 / 288.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01852, allocations: 0 / 288.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.01853, allocations: 3.984 kB / 288.1 MB, free: 2.184 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00176/0.02029, allocations: 1.628 MB / 289.7 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.02034, allocations: 12.03 kB / 289.7 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.0207, allocations: 239.9 kB / 290 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1336/0.1543, allocations: 0.7087 MB / 290.7 MB, free: 24.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/0.1543, allocations: 73.94 kB / 290.7 MB, free: 24.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.1545, allocations: 110.7 kB / 290.8 MB, free: 24.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.1557, allocations: 0.7134 MB / 291.6 MB, free: 24.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.28e-05/0.1557, allocations: 9.062 kB / 291.6 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.1558, allocations: 41.56 kB / 291.6 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.1558, allocations: 24.44 kB / 291.6 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007415/0.1565, allocations: 377.2 kB / 292 MB, free: 24.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003331/0.1599, allocations: 2.653 MB / 294.7 MB, free: 23.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000827/0.1607, allocations: 434.1 kB / 295.1 MB, free: 23.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.1609, allocations: 176.2 kB / 295.3 MB, free: 23.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-05/0.161, allocations: 14.89 kB / 295.3 MB, free: 23.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003702/0.1613, allocations: 250.1 kB / 295.5 MB, free: 23.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 2.715e-06/0.1613, allocations: 1.062 kB / 295.5 MB, free: 23.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003577/0.1649, allocations: 2.305 MB / 297.8 MB, free: 22.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.165, allocations: 63.05 kB / 297.9 MB, free: 22.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007667/0.1657, allocations: 0.7635 MB / 298.6 MB, free: 22.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.1658, allocations: 44.52 kB / 298.7 MB, free: 22.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.1661, allocations: 0.5859 MB / 299.3 MB, free: 21.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.1662, allocations: 365.6 kB / 299.6 MB, free: 21.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.1664, allocations: 165.2 kB / 299.8 MB, free: 21.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.69e-05/0.1665, allocations: 0.5089 MB / 300.3 MB, free: 21.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.1667, allocations: 135.8 kB / 300.4 MB, free: 21.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.1671, allocations: 347.6 kB / 300.8 MB, free: 20.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/0.1677, allocations: 0.5336 MB / 301.3 MB, free: 20.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.1677, allocations: 1.812 kB / 301.3 MB, free: 20.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001156/0.1689, allocations: 0.7968 MB / 302.1 MB, free: 20.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.1689, allocations: 7.531 kB / 302.1 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.1689, allocations: 4.125 kB / 302.1 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/0.1693, allocations: 127.7 kB / 302.2 MB, free: 20.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.1698, allocations: 205.7 kB / 302.4 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.172, allocations: 4.563 MB / 307 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.1723, allocations: 26.91 kB / 307 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.1723, allocations: 38.16 kB / 307.1 MB, free: 15.93 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timeTableTorqueInclination.nextTimeEvent,$whenCondition1,timeTableTorqueInclination.nextTimeEventScaled,$PRE.timeTableTorqueInclination.nextTimeEventScaled,timeTableTorqueInclination.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.1725, allocations: 212.3 kB / 307.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.1726, allocations: 133.1 kB / 307.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009268/0.1736, allocations: 0.7229 MB / 308.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/0.1736, allocations: 9.156 kB / 308.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1736, allocations: 7 kB / 308.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1736, allocations: 11.33 kB / 308.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.1757, allocations: 1.913 MB / 310.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1757, allocations: 3.062 kB / 310.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.1761, allocations: 185.5 kB / 310.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002329/0.1763, allocations: 114.3 kB / 310.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.1764, allocations: 23.11 kB / 310.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.1778, allocations: 4.132 MB / 314.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1778, allocations: 4 kB / 314.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.1788, allocations: 1.142 MB / 315.7 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.179, allocations: 163.2 kB / 315.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.179, allocations: 24 kB / 315.8 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.1792, allocations: 31.92 kB / 315.9 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.1793, allocations: 80.8 kB / 316 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.1794, allocations: 27.98 kB / 316 MB, free: 8.652 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003267/0.1797, allocations: 0.4989 MB / 316.5 MB, free: 8.156 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1797, allocations: 4 kB / 316.5 MB, free: 8.152 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006253/0.1803, allocations: 244 kB / 316.7 MB, free: 7.914 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 10 (vehicle.mass.s,vehicle.mass.v,vehicle.windSpeed.s,vehicle.windSpeed.v,vehicle1.mass.s,vehicle1.mass.v,vehicle1.windSpeed.s,vehicle1.windSpeed.v,trailer.windSpeed.s,trailer.windSpeed.v) * Number of discrete variables: 3 ($whenCondition1,timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Number of discrete states: 2 (timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009191/0.1812, allocations: 430.3 kB / 317.1 MB, free: 7.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009504/0.1822, allocations: 0.9242 MB / 318.1 MB, free: 6.715 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/0.1822, allocations: 0 / 318.1 MB, free: 6.715 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004512/0.1826, allocations: 0.6836 MB / 318.8 MB, free: 5.992 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/0.1832, allocations: 192.9 kB / 318.9 MB, free: 5.816 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.1858, allocations: 2.262 MB / 321.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.186, allocations: 232.9 kB / 321.4 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002424/0.1862, allocations: 107.2 kB / 321.5 MB, free: 3.121 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.1864, allocations: 76.47 kB / 321.6 MB, free: 3.043 MB / 266.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1864, allocations: 0 / 321.6 MB, free: 3.043 MB / 266.7 MB Notification: Performance of Templates: time 0.01587/0.2022, allocations: 11.12 MB / 332.7 MB, free: 8.105 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.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: 3.448740236926824]