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.00094/0.00094, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009499/0.0009499, allocations: 145.2 kB / 24.89 MB, free: 9.207 MB / 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 0.9173/0.9173, allocations: 173.3 MB / 201.5 MB, free: 9.188 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.432e-06/1.432e-06, allocations: 0 / 268.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.395e-05, allocations: 6.25 kB / 268.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.004895/0.004909, allocations: 5.929 MB / 274.4 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.007319, allocations: 2.203 MB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.007617, allocations: 43.69 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.008173, allocations: 429.2 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008592/0.009032, allocations: 496.5 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005715/0.009604, allocations: 0.5144 MB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009908/0.01059, allocations: 1.534 MB / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003715/0.01097, allocations: 357.1 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000608/0.01157, allocations: 0.834 MB / 280.8 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004415/0.01202, allocations: 0.5063 MB / 281.3 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.01212, allocations: 124 kB / 281.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.0123, allocations: 171.9 kB / 281.6 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.01248, allocations: 310.8 kB / 281.9 MB, free: 8.684 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.01276, allocations: 426.8 kB / 282.3 MB, free: 8.266 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006983/0.01346, allocations: 0.9572 MB / 283.2 MB, free: 7.305 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01346, allocations: 4 kB / 283.3 MB, free: 7.301 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.01346, allocations: 0 / 283.3 MB, free: 7.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.01347, allocations: 0 / 283.3 MB, free: 7.301 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.001541/0.01501, allocations: 1.488 MB / 284.7 MB, free: 5.781 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.01504, allocations: 12.03 kB / 284.8 MB, free: 5.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.0152, allocations: 168.8 kB / 284.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.01577, allocations: 0.5597 MB / 285.5 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.58e-05/0.01582, allocations: 74.38 kB / 285.5 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.96e-05/0.01591, allocations: 112.3 kB / 285.7 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/0.01652, allocations: 0.6729 MB / 286.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.01655, allocations: 11.94 kB / 286.3 MB, free: 4.133 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/0.01659, allocations: 36 kB / 286.4 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.01661, allocations: 24 kB / 286.4 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.01693, allocations: 264.6 kB / 286.7 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.01898, allocations: 1.933 MB / 288.6 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.01949, allocations: 419.8 kB / 289 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.01962, allocations: 134.6 kB / 289.1 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.01965, allocations: 20.64 kB / 289.2 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.01987, allocations: 227.1 kB / 289.4 MB, free: 1.004 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 1.884e-06/0.01987, allocations: 4 kB / 289.4 MB, free: 1 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.1055/0.1254, allocations: 1.933 MB / 291.3 MB, free: 28.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.1254, allocations: 66.59 kB / 291.4 MB, free: 28.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.126, allocations: 0.6808 MB / 292.1 MB, free: 28.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.126, allocations: 41.58 kB / 292.1 MB, free: 28.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.1262, allocations: 431.2 kB / 292.5 MB, free: 28.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.1264, allocations: 368.2 kB / 292.9 MB, free: 28.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.1265, allocations: 170.7 kB / 293 MB, free: 28.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.1266, allocations: 348.5 kB / 293.4 MB, free: 27.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.1268, allocations: 98.98 kB / 293.5 MB, free: 27.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.127, allocations: 293.1 kB / 293.8 MB, free: 27.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.1274, allocations: 490.3 kB / 294.2 MB, free: 27.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1274, allocations: 4.594 kB / 294.3 MB, free: 27.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0007462/0.1282, allocations: 0.588 MB / 294.8 MB, free: 27.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1282, allocations: 11.14 kB / 294.9 MB, free: 27.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1282, allocations: 16.39 kB / 294.9 MB, free: 27.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.1285, allocations: 114.1 kB / 295 MB, free: 27.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.1289, allocations: 203.1 kB / 295.2 MB, free: 27.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.1304, allocations: 3.113 MB / 298.3 MB, free: 24.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.1306, allocations: 30.05 kB / 298.3 MB, free: 24.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.1307, allocations: 30.62 kB / 298.4 MB, free: 24.9 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.000179/0.1309, allocations: 178.4 kB / 298.5 MB, free: 24.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.131, allocations: 92.03 kB / 298.6 MB, free: 24.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006466/0.1316, allocations: 0.5309 MB / 299.1 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.1316, allocations: 12.36 kB / 299.2 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1316, allocations: 2.5 kB / 299.2 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.1316, allocations: 4.5 kB / 299.2 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.1333, allocations: 1.386 MB / 300.6 MB, free: 24.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1333, allocations: 2.906 kB / 300.6 MB, free: 24.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.1337, allocations: 172.6 kB / 300.7 MB, free: 24.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/0.1339, allocations: 95.5 kB / 300.8 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.1339, allocations: 26.17 kB / 300.8 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.135, allocations: 2.822 MB / 303.7 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.135, allocations: 3.25 kB / 303.7 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007886/0.1358, allocations: 0.8625 MB / 304.5 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.136, allocations: 105.2 kB / 304.6 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.136, allocations: 20.58 kB / 304.7 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.1362, allocations: 27.38 kB / 304.7 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.1363, allocations: 82.61 kB / 304.8 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.1363, allocations: 24.33 kB / 304.8 MB, free: 21.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002886/0.1366, allocations: 355 kB / 305.1 MB, free: 21.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1366, allocations: 3.391 kB / 305.1 MB, free: 21.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005683/0.1372, allocations: 247.6 kB / 305.4 MB, free: 21.39 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.001005/0.1382, allocations: 0.5434 MB / 305.9 MB, free: 21.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006637/0.1389, allocations: 0.7399 MB / 306.7 MB, free: 20.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.1389, allocations: 6.656 kB / 306.7 MB, free: 20.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.1392, allocations: 0.5397 MB / 307.2 MB, free: 20.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.1397, allocations: 188.2 kB / 307.4 MB, free: 20.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.1416, allocations: 2.018 MB / 309.4 MB, free: 19.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.1417, allocations: 233.4 kB / 309.6 MB, free: 19.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002088/0.142, allocations: 118.1 kB / 309.7 MB, free: 19.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.1422, allocations: 212.7 kB / 310 MB, free: 19.27 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1422, allocations: 0 / 310 MB, free: 19.27 MB / 266.7 MB Notification: Performance of Templates: time 0.01357/0.1558, allocations: 11.97 MB / 321.9 MB, free: 8.559 MB / 266.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: 2.8880404108203948]