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.0009149/0.0009149, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.0009343/0.0009343, allocations: 173.3 kB / 24.91 MB, free: 9.188 MB / 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 0.9939/0.9939, allocations: 177.1 MB / 205.3 MB, free: 5.488 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 1.563e-06/1.563e-06, allocations: 0 / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.727e-05, allocations: 2.312 kB / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.017/0.01702, allocations: 5.995 MB / 279.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.02895, allocations: 2.335 MB / 281.8 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.0304, allocations: 39.69 kB / 281.9 MB, free: 8.848 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004376/0.03478, allocations: 433.2 kB / 282.3 MB, free: 8.422 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005039/0.03982, allocations: 0.5121 MB / 282.8 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.04125, allocations: 0.4949 MB / 283.3 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004235/0.04548, allocations: 1.546 MB / 284.8 MB, free: 5.859 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006896/0.04617, allocations: 361.1 kB / 285.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.04752, allocations: 0.834 MB / 286 MB, free: 4.637 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000805/0.04833, allocations: 0.5024 MB / 286.5 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003252/0.04865, allocations: 128 kB / 286.6 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003635/0.04902, allocations: 183.8 kB / 286.8 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.0492, allocations: 318.8 kB / 287.1 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003225/0.04952, allocations: 430.8 kB / 287.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008908/0.05041, allocations: 0.9728 MB / 288.5 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.05042, allocations: 0 / 288.5 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.05042, allocations: 0 / 288.5 MB, free: 2.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.05043, allocations: 0 / 288.5 MB, free: 2.117 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.00136/0.05179, allocations: 1.499 MB / 290 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.05182, allocations: 12.02 kB / 290 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.05208, allocations: 184.7 kB / 290.2 MB, free: 404 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1014/0.1535, allocations: 0.5579 MB / 290.8 MB, free: 25.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.423e-05/0.1536, allocations: 75.44 kB / 290.9 MB, free: 25.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.1537, allocations: 104.9 kB / 291 MB, free: 25.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009072/0.1546, allocations: 0.6699 MB / 291.6 MB, free: 24.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.1546, allocations: 11.17 kB / 291.6 MB, free: 24.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.1547, allocations: 39.41 kB / 291.7 MB, free: 24.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.1547, allocations: 23.34 kB / 291.7 MB, free: 24.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.1551, allocations: 269.5 kB / 292 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.1577, allocations: 1.938 MB / 293.9 MB, free: 24.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.1582, allocations: 413.6 kB / 294.3 MB, free: 24.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.1584, allocations: 130.1 kB / 294.4 MB, free: 24.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.1584, allocations: 15.31 kB / 294.4 MB, free: 24.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002822/0.1587, allocations: 228.3 kB / 294.7 MB, free: 24.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 3.166e-06/0.1587, allocations: 0 / 294.7 MB, free: 24.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002812/0.1615, allocations: 1.947 MB / 296.6 MB, free: 23.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.1616, allocations: 62.34 kB / 296.7 MB, free: 23.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/0.1621, allocations: 0.69 MB / 297.4 MB, free: 23.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.1621, allocations: 45.92 kB / 297.4 MB, free: 23.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.1623, allocations: 434.4 kB / 297.8 MB, free: 23.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.1625, allocations: 357.7 kB / 298.2 MB, free: 23.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.1627, allocations: 170.4 kB / 298.4 MB, free: 23.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.724e-05/0.1627, allocations: 350.2 kB / 298.7 MB, free: 22.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.1629, allocations: 98.56 kB / 298.8 MB, free: 22.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.1631, allocations: 297.7 kB / 299.1 MB, free: 22.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/0.1635, allocations: 498.6 kB / 299.6 MB, free: 22.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1635, allocations: 0.9062 kB / 299.6 MB, free: 22.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0007886/0.1643, allocations: 0.5838 MB / 300.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1643, allocations: 8.359 kB / 300.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1644, allocations: 7.578 kB / 300.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000253/0.1646, allocations: 114.9 kB / 300.3 MB, free: 22.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.1651, allocations: 244.3 kB / 300.5 MB, free: 22.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.1667, allocations: 3.14 MB / 303.7 MB, free: 19.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.167, allocations: 28.38 kB / 303.7 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.167, allocations: 30.16 kB / 303.7 MB, free: 19.67 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (114): * Single equations (assignments): 112 * 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.0002045/0.1672, allocations: 174.2 kB / 303.9 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-05/0.1673, allocations: 95.44 kB / 304 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006057/0.1679, allocations: 0.5373 MB / 304.5 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1679, allocations: 9.969 kB / 304.5 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.168, allocations: 3.281 kB / 304.5 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.168, allocations: 3.891 kB / 304.5 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.1695, allocations: 1.386 MB / 305.9 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.1695, allocations: 3.75 kB / 305.9 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/0.17, allocations: 207 kB / 306.1 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.1702, allocations: 95.95 kB / 306.2 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.1702, allocations: 23.41 kB / 306.2 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.1714, allocations: 2.829 MB / 309.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1714, allocations: 7.781 kB / 309.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/0.1721, allocations: 0.8544 MB / 309.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.1723, allocations: 108.3 kB / 310 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.1723, allocations: 21.81 kB / 310.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.1725, allocations: 27.36 kB / 310.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.1726, allocations: 82.33 kB / 310.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.1726, allocations: 26.77 kB / 310.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002232/0.1729, allocations: 351.5 kB / 310.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1729, allocations: 4 kB / 310.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006043/0.1735, allocations: 244 kB / 310.8 MB, free: 15.04 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.00119/0.1746, allocations: 0.5451 MB / 311.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007486/0.1754, allocations: 0.7452 MB / 312.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.1754, allocations: 12.47 kB / 312.1 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.1757, allocations: 0.533 MB / 312.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.1762, allocations: 186.8 kB / 312.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.1787, allocations: 2.028 MB / 314.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.1789, allocations: 225 kB / 315 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002577/0.1791, allocations: 119.4 kB / 315.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.1794, allocations: 217.2 kB / 315.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1794, allocations: 3.938 kB / 315.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of Templates: time 0.0163/0.1957, allocations: 12.15 MB / 327.5 MB, free: 14.7 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 -s gbode -gbm=radauIIA3 -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.05162410531193]