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.001415/0.001415, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001396/0.001396, allocations: 165 kB / 24.56 MB, free: 12 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 0.9872/0.9872, allocations: 177.1 MB / 205 MB, free: 5.602 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.302e-06/1.302e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.366e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.005398/0.005422, allocations: 6.089 MB / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.00852, allocations: 2.267 MB / 281.3 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004244/0.008945, allocations: 39.69 kB / 281.4 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006348/0.00958, allocations: 433.2 kB / 281.8 MB, free: 8.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008014/0.01038, allocations: 0.5199 MB / 282.3 MB, free: 8.137 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.01108, allocations: 0.495 MB / 282.8 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.0122, allocations: 1.546 MB / 284.4 MB, free: 6.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004261/0.01263, allocations: 353.1 kB / 284.7 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007052/0.01333, allocations: 0.8262 MB / 285.5 MB, free: 4.891 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004737/0.01381, allocations: 0.5297 MB / 286.1 MB, free: 4.359 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.01392, allocations: 128 kB / 286.2 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.01415, allocations: 183.8 kB / 286.4 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.01435, allocations: 318.8 kB / 286.7 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.01465, allocations: 422.8 kB / 287.1 MB, free: 3.328 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008333/0.01548, allocations: 0.9727 MB / 288.1 MB, free: 2.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01549, allocations: 0 / 288.1 MB, free: 2.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.01549, allocations: 0 / 288.1 MB, free: 2.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.0155, allocations: 0 / 288.1 MB, free: 2.352 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.001625/0.01712, allocations: 1.628 MB / 289.7 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.01716, allocations: 12.03 kB / 289.7 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/0.01749, allocations: 243.9 kB / 289.9 MB, free: 440 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1116/0.1291, allocations: 0.7109 MB / 290.6 MB, free: 25.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.593e-05/0.1292, allocations: 72.25 kB / 290.7 MB, free: 25.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.1293, allocations: 109.2 kB / 290.8 MB, free: 25.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.1306, allocations: 0.7066 MB / 291.5 MB, free: 24.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.865e-05/0.1307, allocations: 14.98 kB / 291.5 MB, free: 24.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/0.1307, allocations: 40 kB / 291.6 MB, free: 24.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.1308, allocations: 31.31 kB / 291.6 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008536/0.1316, allocations: 371 kB / 292 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003656/0.1353, allocations: 2.643 MB / 294.6 MB, free: 24.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008874/0.1362, allocations: 435.4 kB / 295 MB, free: 23.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.1364, allocations: 170 kB / 295.2 MB, free: 23.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.1365, allocations: 16.81 kB / 295.2 MB, free: 23.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004152/0.1369, allocations: 258 kB / 295.5 MB, free: 23.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 3.145e-06/0.1369, allocations: 0 / 295.5 MB, free: 23.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003826/0.1407, allocations: 2.294 MB / 297.8 MB, free: 22.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.1407, allocations: 66.89 kB / 297.8 MB, free: 22.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008226/0.1416, allocations: 0.7807 MB / 298.6 MB, free: 22.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.1416, allocations: 45.11 kB / 298.7 MB, free: 22.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.1419, allocations: 0.5931 MB / 299.3 MB, free: 21.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.1421, allocations: 360.7 kB / 299.6 MB, free: 21.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.1423, allocations: 177.3 kB / 299.8 MB, free: 21.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.363e-05/0.1424, allocations: 0.5099 MB / 300.3 MB, free: 21.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.1427, allocations: 143.2 kB / 300.4 MB, free: 21.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.143, allocations: 405.3 kB / 300.8 MB, free: 20.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007205/0.1437, allocations: 0.6006 MB / 301.4 MB, free: 20.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1438, allocations: 1.312 kB / 301.4 MB, free: 20.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001271/0.145, allocations: 0.8399 MB / 302.3 MB, free: 20.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.145, allocations: 6.875 kB / 302.3 MB, free: 20.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.1451, allocations: 9.188 kB / 302.3 MB, free: 20.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003676/0.1454, allocations: 129.9 kB / 302.4 MB, free: 20.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.1459, allocations: 207.5 kB / 302.6 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.1478, allocations: 4.559 MB / 307.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.1481, allocations: 32.73 kB / 307.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.1481, allocations: 40.06 kB / 307.2 MB, free: 15.77 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.000199/0.1483, allocations: 221.2 kB / 307.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.1484, allocations: 137 kB / 307.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008315/0.1492, allocations: 0.7114 MB / 308.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1493, allocations: 13.92 kB / 308.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1493, allocations: 1.469 kB / 308.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1493, allocations: 3.984 kB / 308.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.1511, allocations: 1.921 MB / 310.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1511, allocations: 3.188 kB / 310.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.1515, allocations: 176.1 kB / 310.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002163/0.1517, allocations: 104.2 kB / 310.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.1517, allocations: 26.27 kB / 310.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.1531, allocations: 4.144 MB / 314.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1531, allocations: 4 kB / 314.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009558/0.154, allocations: 1.137 MB / 315.8 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.1542, allocations: 162.4 kB / 316 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/0.1542, allocations: 31.97 kB / 316 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.1544, allocations: 27.98 kB / 316.1 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-05/0.1545, allocations: 76.8 kB / 316.1 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.1546, allocations: 35.98 kB / 316.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003058/0.1549, allocations: 0.4989 MB / 316.7 MB, free: 8.031 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1549, allocations: 4 kB / 316.7 MB, free: 8.027 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000564/0.1554, allocations: 244 kB / 316.9 MB, free: 7.789 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.0007859/0.1562, allocations: 436.5 kB / 317.3 MB, free: 7.547 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000853/0.1571, allocations: 0.9444 MB / 318.3 MB, free: 6.574 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1571, allocations: 4 kB / 318.3 MB, free: 6.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.1575, allocations: 0.6826 MB / 319 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.158, allocations: 188.3 kB / 319.1 MB, free: 5.672 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.1608, allocations: 2.264 MB / 321.4 MB, free: 3.328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.1609, allocations: 229 kB / 321.6 MB, free: 3.086 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000338/0.1613, allocations: 115.4 kB / 321.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.1614, allocations: 76.47 kB / 321.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of SimCode: time 2.294e-06/0.1614, allocations: 0 / 321.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of Templates: time 0.01672/0.1781, allocations: 11.67 MB / 333.5 MB, free: 7.414 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","",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.133273369167]