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.002566/0.002566, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002443/0.002443, allocations: 165.6 kB / 24.27 MB, free: 156 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.577/1.577, allocations: 177.1 MB / 204.6 MB, free: 5.645 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 2.305e-06/2.305e-06, allocations: 0 / 272.3 MB, free: 1.891 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.308e-05, allocations: 6.312 kB / 272.3 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.01298/0.01302, allocations: 6.047 MB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004925/0.01794, allocations: 2.25 MB / 280.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.01897, allocations: 39.69 kB / 280.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.02005, allocations: 433.2 kB / 281.1 MB, free: 9.082 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.02168, allocations: 0.5237 MB / 281.6 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.02301, allocations: 0.4911 MB / 282.1 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.0253, allocations: 1.538 MB / 283.6 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007826/0.02608, allocations: 357.1 kB / 284 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.02757, allocations: 0.8301 MB / 284.8 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.02868, allocations: 0.5336 MB / 285.3 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002532/0.02894, allocations: 128 kB / 285.5 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004076/0.02934, allocations: 175.9 kB / 285.6 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003646/0.02971, allocations: 318.8 kB / 285.9 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006554/0.03036, allocations: 438.7 kB / 286.4 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.0325, allocations: 1.67 MB / 288 MB, free: 2.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.0325, allocations: 0 / 288 MB, free: 2.062 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.0325, allocations: 0 / 288 MB, free: 2.062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.718e-05/0.03255, allocations: 4 kB / 288 MB, free: 2.059 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.003248/0.0358, allocations: 1.737 MB / 289.8 MB, free: 284 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.03583, allocations: 8.031 kB / 289.8 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005541/0.03639, allocations: 247.8 kB / 290 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1132/0.1496, allocations: 0.7227 MB / 290.7 MB, free: 28.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-05/0.1497, allocations: 75.12 kB / 290.8 MB, free: 28.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.1499, allocations: 106.6 kB / 290.9 MB, free: 28.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.1516, allocations: 0.9767 MB / 291.9 MB, free: 27.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-05/0.1516, allocations: 12.66 kB / 291.9 MB, free: 27.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-05/0.1517, allocations: 41.41 kB / 292 MB, free: 27.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.1517, allocations: 23.38 kB / 292 MB, free: 27.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.153, allocations: 0.6173 MB / 292.6 MB, free: 27.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004924/0.1579, allocations: 3.335 MB / 295.9 MB, free: 25.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.1592, allocations: 0.5974 MB / 296.5 MB, free: 25.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/0.1596, allocations: 269.6 kB / 296.8 MB, free: 25.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.703e-05/0.1597, allocations: 20.38 kB / 296.8 MB, free: 25.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006294/0.1603, allocations: 358.5 kB / 297.2 MB, free: 25.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 3.116e-06/0.1603, allocations: 1.531 kB / 297.2 MB, free: 25.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.005964/0.1663, allocations: 2.975 MB / 300.1 MB, free: 23.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1663, allocations: 66.03 kB / 300.2 MB, free: 23.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.1675, allocations: 0.9418 MB / 301.1 MB, free: 23.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.1675, allocations: 45.25 kB / 301.2 MB, free: 23.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/0.1679, allocations: 0.6287 MB / 301.8 MB, free: 22.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.1681, allocations: 396.1 kB / 302.2 MB, free: 22.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.1684, allocations: 204.4 kB / 302.4 MB, free: 22.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1685, allocations: 0.5428 MB / 302.9 MB, free: 22.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004864/0.169, allocations: 267.3 kB / 303.2 MB, free: 21.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/0.1696, allocations: 498.9 kB / 303.7 MB, free: 21.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.1707, allocations: 0.8199 MB / 304.5 MB, free: 21.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1707, allocations: 0 / 304.5 MB, free: 21.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001678/0.1724, allocations: 1.066 MB / 305.6 MB, free: 20.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1724, allocations: 11.81 kB / 305.6 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1724, allocations: 4 kB / 305.6 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/0.1729, allocations: 156.2 kB / 305.7 MB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/0.1736, allocations: 207 kB / 305.9 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/0.1764, allocations: 5.001 MB / 310.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.1769, allocations: 25.64 kB / 311 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/0.177, allocations: 39.98 kB / 311 MB, free: 15.03 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.0003984/0.1774, allocations: 315.7 kB / 311.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.1775, allocations: 131.3 kB / 311.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.179, allocations: 0.9633 MB / 312.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.179, allocations: 16 kB / 312.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.179, allocations: 4 kB / 312.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.179, allocations: 3.984 kB / 312.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/0.1824, allocations: 2.518 MB / 315 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.1824, allocations: 4 kB / 315 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007076/0.1831, allocations: 187.7 kB / 315.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003684/0.1835, allocations: 135.6 kB / 315.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/0.1835, allocations: 27.98 kB / 315.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.1858, allocations: 4.49 MB / 319.8 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1858, allocations: 7.938 kB / 319.8 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.1878, allocations: 1.564 MB / 321.4 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.1881, allocations: 155.2 kB / 321.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.971e-05/0.1882, allocations: 27.98 kB / 321.5 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.1886, allocations: 24 kB / 321.6 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.1887, allocations: 88.73 kB / 321.7 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.1887, allocations: 31.98 kB / 321.7 MB, free: 3.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005664/0.1893, allocations: 0.5927 MB / 322.3 MB, free: 3.344 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1893, allocations: 4 kB / 322.3 MB, free: 3.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009139/0.1902, allocations: 244 kB / 322.5 MB, free: 3.102 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.002822/0.193, allocations: 483.6 kB / 323 MB, free: 2.852 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.1948, allocations: 1.19 MB / 324.2 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1948, allocations: 0 / 324.2 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009166/0.1958, allocations: 0.823 MB / 325 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.1969, allocations: 191 kB / 325.2 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.2013, allocations: 2.397 MB / 327.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.2023, allocations: 0.5072 MB / 328.1 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004551/0.2028, allocations: 107.2 kB / 328.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.203, allocations: 72.48 kB / 328.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of SimCode: time 1.533e-06/0.203, allocations: 0 / 328.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of Templates: time 0.02573/0.2287, allocations: 11.08 MB / 339.4 MB, free: 2.457 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","/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: 5.007381108007394]