Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 79.91 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.008/1.008, allocations: 173.3 MB / 201.1 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.203e-05, allocations: 2.312 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.0062/0.006232, allocations: 6.071 MB / 274.1 MB, free: 328 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.01003, allocations: 2.134 MB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.01111, allocations: 35.75 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008999/0.01201, allocations: 433.2 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.01332, allocations: 488.6 kB / 277.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.01453, allocations: 0.5183 MB / 277.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001643/0.01617, allocations: 1.534 MB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005568/0.01673, allocations: 353.1 kB / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.01788, allocations: 0.8184 MB / 280.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007072/0.01858, allocations: 0.5336 MB / 280.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002678/0.01885, allocations: 132 kB / 281 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.01911, allocations: 167.9 kB / 281.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.01931, allocations: 314.7 kB / 281.5 MB, free: 8.855 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003388/0.01965, allocations: 426.8 kB / 281.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009814/0.02063, allocations: 0.9767 MB / 282.9 MB, free: 7.457 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.02064, allocations: 4 kB / 282.9 MB, free: 7.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.02064, allocations: 0 / 282.9 MB, free: 7.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.981e-05/0.02067, allocations: 0 / 282.9 MB, free: 7.453 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.001877/0.02255, allocations: 1.613 MB / 284.5 MB, free: 5.797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.02259, allocations: 12.03 kB / 284.5 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.02283, allocations: 228 kB / 284.7 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008355/0.02367, allocations: 0.7193 MB / 285.4 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.02372, allocations: 78.31 kB / 285.5 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.02383, allocations: 100.3 kB / 285.6 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009469/0.02478, allocations: 0.7138 MB / 286.3 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/0.02481, allocations: 7.953 kB / 286.3 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.398e-05/0.02487, allocations: 40 kB / 286.4 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.02489, allocations: 24 kB / 286.4 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006078/0.0255, allocations: 379.6 kB / 286.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003123/0.02862, allocations: 2.658 MB / 289.4 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/0.02937, allocations: 434.9 kB / 289.9 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.02959, allocations: 169.5 kB / 290 MB, free: 116 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.02963, allocations: 28.58 kB / 290 MB, free: 88 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1245/0.1541, allocations: 243 kB / 290.3 MB, free: 23.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 3.787e-06/0.1541, allocations: 1.031 kB / 290.3 MB, free: 23.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.004319/0.1584, allocations: 2.297 MB / 292.6 MB, free: 23.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.1585, allocations: 62.89 kB / 292.6 MB, free: 23.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008627/0.1593, allocations: 0.7565 MB / 293.4 MB, free: 23.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.1594, allocations: 45.97 kB / 293.4 MB, free: 23.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.1597, allocations: 0.5835 MB / 294 MB, free: 22.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.1599, allocations: 357.8 kB / 294.4 MB, free: 22.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.1601, allocations: 167.3 kB / 294.5 MB, free: 22.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.276e-05/0.1602, allocations: 0.51 MB / 295.1 MB, free: 22.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.1605, allocations: 136.7 kB / 295.2 MB, free: 22.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.1609, allocations: 345.5 kB / 295.5 MB, free: 22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007357/0.1616, allocations: 0.5317 MB / 296.1 MB, free: 21.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.1616, allocations: 5.562 kB / 296.1 MB, free: 21.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001309/0.163, allocations: 0.7965 MB / 296.9 MB, free: 21.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.163, allocations: 9.891 kB / 296.9 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.163, allocations: 3.844 kB / 296.9 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.1634, allocations: 124.5 kB / 297 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.164, allocations: 206.1 kB / 297.2 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.1664, allocations: 4.553 MB / 301.7 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.1668, allocations: 30.3 kB / 301.8 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.1668, allocations: 34.34 kB / 301.8 MB, free: 17.68 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.0002472/0.1671, allocations: 213.6 kB / 302 MB, free: 17.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.1672, allocations: 134.2 kB / 302.1 MB, free: 17.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.1684, allocations: 0.7204 MB / 302.9 MB, free: 17.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1684, allocations: 10.34 kB / 302.9 MB, free: 17.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.1684, allocations: 8.484 kB / 302.9 MB, free: 17.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.1684, allocations: 6.391 kB / 302.9 MB, free: 17.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.1712, allocations: 1.911 MB / 304.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.1712, allocations: 3.625 kB / 304.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006022/0.1719, allocations: 183.9 kB / 305 MB, free: 16.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003171/0.1722, allocations: 108.5 kB / 305.1 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.405e-05/0.1722, allocations: 28.53 kB / 305.1 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.1741, allocations: 4.152 MB / 309.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.1741, allocations: 6.219 kB / 309.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.1756, allocations: 1.139 MB / 310.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.1758, allocations: 159.3 kB / 310.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.949e-05/0.1759, allocations: 28.2 kB / 310.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.1762, allocations: 25.62 kB / 310.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.1763, allocations: 80.52 kB / 310.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.1763, allocations: 30.81 kB / 310.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004448/0.1768, allocations: 0.4933 MB / 311.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1768, allocations: 0 / 311.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008908/0.1777, allocations: 247.5 kB / 311.5 MB, free: 11.36 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.00104/0.1787, allocations: 414.7 kB / 311.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.1799, allocations: 0.9329 MB / 312.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1799, allocations: 4 kB / 312.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.1805, allocations: 0.6806 MB / 313.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007477/0.1812, allocations: 193 kB / 313.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.1845, allocations: 2.273 MB / 316 MB, free: 8.828 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.1847, allocations: 228.4 kB / 316.2 MB, free: 8.746 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.185, allocations: 111.4 kB / 316.3 MB, free: 8.719 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.1852, allocations: 71.47 kB / 316.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1852, allocations: 0 / 316.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of Templates: time 0.01713/0.2023, allocations: 11.07 MB / 327.4 MB, free: 14.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.381026513874531]