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.001445/0.001445, allocations: 88.34 kB / 20.95 MB, free: 3.457 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.00155/0.00155, allocations: 161.3 kB / 24.27 MB, free: 152 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.471/1.471, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.242e-06/1.242e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.654e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008857/0.008884, allocations: 5.542 MB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005225/0.01411, allocations: 2.224 MB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000946/0.01506, allocations: 47.69 kB / 280.1 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.01613, allocations: 421.2 kB / 280.5 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.01768, allocations: 0.5198 MB / 281.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.01891, allocations: 0.495 MB / 281.6 MB, free: 8.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002349/0.02126, allocations: 1.55 MB / 283.1 MB, free: 6.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008815/0.02215, allocations: 345.1 kB / 283.4 MB, free: 6.617 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.02389, allocations: 0.83 MB / 284.3 MB, free: 5.785 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009355/0.02483, allocations: 0.5102 MB / 284.8 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.02502, allocations: 132 kB / 284.9 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.02536, allocations: 171.9 kB / 285.1 MB, free: 4.977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003324/0.0257, allocations: 326.8 kB / 285.4 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005627/0.02626, allocations: 426.8 kB / 285.8 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.02866, allocations: 1.666 MB / 287.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.02867, allocations: 0 / 287.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.02867, allocations: 0 / 287.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.02869, allocations: 0 / 287.5 MB, free: 2.566 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.003143/0.03183, allocations: 1.513 MB / 289 MB, free: 1.016 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.03187, allocations: 8.031 kB / 289 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000609/0.03248, allocations: 251.8 kB / 289.2 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.03389, allocations: 0.7243 MB / 290 MB, free: 12 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1111/0.145, allocations: 70.05 kB / 290 MB, free: 28.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003396/0.1454, allocations: 108 kB / 290.1 MB, free: 28.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.1471, allocations: 0.9142 MB / 291.1 MB, free: 28.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/0.1472, allocations: 7.188 kB / 291.1 MB, free: 28.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-05/0.1472, allocations: 39.91 kB / 291.1 MB, free: 28.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.1473, allocations: 24.31 kB / 291.1 MB, free: 28.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.1485, allocations: 0.6429 MB / 291.8 MB, free: 28.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004426/0.1529, allocations: 2.651 MB / 294.4 MB, free: 26.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.1543, allocations: 0.5791 MB / 295 MB, free: 26.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/0.1548, allocations: 268.6 kB / 295.3 MB, free: 26.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.646e-05/0.1549, allocations: 19.67 kB / 295.3 MB, free: 26.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006846/0.1556, allocations: 344 kB / 295.6 MB, free: 26.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 2.786e-06/0.1556, allocations: 2.125 kB / 295.6 MB, free: 26.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.006088/0.1616, allocations: 2.959 MB / 298.6 MB, free: 24.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1617, allocations: 61.5 kB / 298.6 MB, free: 24.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.1627, allocations: 0.8699 MB / 299.5 MB, free: 24.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.1628, allocations: 47.17 kB / 299.6 MB, free: 24.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.1631, allocations: 0.5364 MB / 300.1 MB, free: 23.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.1633, allocations: 357.2 kB / 300.4 MB, free: 23.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.1635, allocations: 166 kB / 300.6 MB, free: 23.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.1636, allocations: 346.1 kB / 300.9 MB, free: 23.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/0.1641, allocations: 271 kB / 301.2 MB, free: 23.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/0.1647, allocations: 433.8 kB / 301.6 MB, free: 22.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.1659, allocations: 0.759 MB / 302.4 MB, free: 22.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1659, allocations: 1.375 kB / 302.4 MB, free: 22.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00197/0.1679, allocations: 1.062 MB / 303.5 MB, free: 22.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1679, allocations: 10.38 kB / 303.5 MB, free: 22.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.1679, allocations: 5.969 kB / 303.5 MB, free: 22.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004969/0.1684, allocations: 152.7 kB / 303.6 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000729/0.1692, allocations: 204.9 kB / 303.8 MB, free: 21.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.1719, allocations: 3.713 MB / 307.5 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/0.1725, allocations: 35.56 kB / 307.6 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/0.1726, allocations: 41.7 kB / 307.6 MB, free: 18.58 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.0005881/0.1732, allocations: 299.2 kB / 307.9 MB, free: 18.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.1734, allocations: 139.3 kB / 308 MB, free: 18.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.1752, allocations: 0.9614 MB / 309 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.1752, allocations: 8 kB / 309 MB, free: 17.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1753, allocations: 5.859 kB / 309 MB, free: 17.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.1753, allocations: 3.984 kB / 309 MB, free: 17.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.1784, allocations: 2.167 MB / 311.2 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.1784, allocations: 0 / 311.2 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007181/0.1792, allocations: 183.8 kB / 311.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003735/0.1795, allocations: 130.7 kB / 311.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/0.1796, allocations: 27.92 kB / 311.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/0.1821, allocations: 3.336 MB / 314.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1821, allocations: 8.125 kB / 314.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.184, allocations: 1.474 MB / 316.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/0.1843, allocations: 159.2 kB / 316.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.777e-05/0.1844, allocations: 28 kB / 316.5 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.1848, allocations: 27.98 kB / 316.5 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.185, allocations: 80.83 kB / 316.6 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/0.185, allocations: 35.98 kB / 316.7 MB, free: 9.273 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005469/0.1856, allocations: 0.6201 MB / 317.3 MB, free: 8.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1856, allocations: 0 / 317.3 MB, free: 8.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000946/0.1865, allocations: 243.9 kB / 317.5 MB, free: 8.422 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.001979/0.1885, allocations: 478.8 kB / 318 MB, free: 8.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.1902, allocations: 1.018 MB / 319 MB, free: 7.137 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1902, allocations: 0 / 319 MB, free: 7.137 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008312/0.191, allocations: 0.6724 MB / 319.7 MB, free: 6.441 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009005/0.1919, allocations: 192.9 kB / 319.9 MB, free: 6.262 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.1948, allocations: 2.432 MB / 322.3 MB, free: 3.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.1951, allocations: 0.515 MB / 322.8 MB, free: 3.219 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003358/0.1955, allocations: 111.2 kB / 322.9 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.1956, allocations: 72.48 kB / 323 MB, free: 3.035 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1956, allocations: 4 kB / 323 MB, free: 3.031 MB / 266.7 MB Notification: Performance of Templates: time 0.02201/0.2177, allocations: 11.01 MB / 334 MB, free: 8.188 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.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: 4.980804117047228]