Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001/0.001, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001613/0.001613, allocations: 166.2 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.019/1.019, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.78e-05, allocations: 5.266 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008133/0.008161, allocations: 5.952 MB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006337/0.0145, allocations: 2.347 MB / 281.7 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.01591, allocations: 43.69 kB / 281.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.01694, allocations: 425.2 kB / 282.1 MB, free: 8.262 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.01876, allocations: 0.5237 MB / 282.7 MB, free: 7.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.02005, allocations: 498.9 kB / 283.1 MB, free: 7.246 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00184/0.02189, allocations: 1.546 MB / 284.7 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005394/0.02243, allocations: 365.1 kB / 285.1 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.0235, allocations: 0.834 MB / 285.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005674/0.02407, allocations: 0.5024 MB / 286.4 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.02421, allocations: 128 kB / 286.5 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.02447, allocations: 175.9 kB / 286.7 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.02468, allocations: 318.8 kB / 287 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004103/0.02509, allocations: 430.8 kB / 287.4 MB, free: 2.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.02625, allocations: 0.9689 MB / 288.4 MB, free: 1.965 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.02625, allocations: 0 / 288.4 MB, free: 1.965 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.02625, allocations: 0 / 288.4 MB, free: 1.965 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.606e-05/0.02628, allocations: 4 kB / 288.4 MB, free: 1.961 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.001592/0.02787, allocations: 1.503 MB / 289.9 MB, free: 436 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.0279, allocations: 11.98 kB / 289.9 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003133/0.02822, allocations: 188.7 kB / 290.1 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1122/0.1404, allocations: 0.5577 MB / 290.6 MB, free: 24.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.1405, allocations: 73.47 kB / 290.7 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.1406, allocations: 104.9 kB / 290.8 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008841/0.1415, allocations: 0.6673 MB / 291.5 MB, free: 24.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/0.1416, allocations: 11.95 kB / 291.5 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.1416, allocations: 41.02 kB / 291.5 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.1416, allocations: 24.91 kB / 291.6 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.1421, allocations: 258.2 kB / 291.8 MB, free: 24.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002588/0.1446, allocations: 1.953 MB / 293.8 MB, free: 24.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/0.1452, allocations: 410.3 kB / 294.2 MB, free: 24.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.1454, allocations: 131.6 kB / 294.3 MB, free: 24.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.1454, allocations: 22.16 kB / 294.3 MB, free: 24.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.1457, allocations: 227.9 kB / 294.5 MB, free: 24.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 3.336e-06/0.1457, allocations: 0 / 294.5 MB, free: 24.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002792/0.1485, allocations: 1.947 MB / 296.5 MB, free: 23.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.1485, allocations: 61.56 kB / 296.5 MB, free: 23.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005724/0.1491, allocations: 0.6881 MB / 297.2 MB, free: 23.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.1491, allocations: 43.16 kB / 297.3 MB, free: 23.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.1493, allocations: 430.1 kB / 297.7 MB, free: 23.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.1495, allocations: 360.2 kB / 298.1 MB, free: 22.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.1496, allocations: 175.1 kB / 298.2 MB, free: 22.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.796e-05/0.1497, allocations: 356.3 kB / 298.6 MB, free: 22.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.1498, allocations: 97.08 kB / 298.7 MB, free: 22.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.15, allocations: 298.8 kB / 299 MB, free: 22.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.1505, allocations: 498.1 kB / 299.4 MB, free: 22.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1505, allocations: 1.75 kB / 299.4 MB, free: 22.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.000712/0.1512, allocations: 0.5834 MB / 300 MB, free: 22.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1512, allocations: 8.25 kB / 300 MB, free: 22.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.1512, allocations: 5.5 kB / 300 MB, free: 22.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/0.1515, allocations: 116.6 kB / 300.2 MB, free: 22.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.1519, allocations: 203.7 kB / 300.4 MB, free: 22.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.1533, allocations: 3.122 MB / 303.5 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.1535, allocations: 30.27 kB / 303.5 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.1536, allocations: 30.31 kB / 303.5 MB, free: 19.55 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.000165/0.1537, allocations: 176.8 kB / 303.7 MB, free: 19.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.711e-05/0.1538, allocations: 90.78 kB / 303.8 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005922/0.1544, allocations: 0.5391 MB / 304.3 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1544, allocations: 10.69 kB / 304.3 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.1544, allocations: 8.578 kB / 304.4 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1545, allocations: 6.984 kB / 304.4 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.1559, allocations: 1.367 MB / 305.7 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.1559, allocations: 11.78 kB / 305.7 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.1563, allocations: 175.7 kB / 305.9 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001813/0.1565, allocations: 93.45 kB / 306 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.1565, allocations: 33.23 kB / 306 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.1575, allocations: 2.814 MB / 308.8 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1575, allocations: 7.531 kB / 308.9 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/0.1582, allocations: 0.8524 MB / 309.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.1583, allocations: 104.8 kB / 309.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.1584, allocations: 31.12 kB / 309.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.1586, allocations: 25.92 kB / 309.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/0.1586, allocations: 79.58 kB / 309.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.1587, allocations: 25.8 kB / 310 MB, free: 15.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002247/0.1589, allocations: 359.5 kB / 310.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1589, allocations: 0 / 310.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006011/0.1595, allocations: 244 kB / 310.6 MB, free: 14.97 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.001136/0.1606, allocations: 0.5392 MB / 311.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006334/0.1613, allocations: 0.7355 MB / 311.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.1613, allocations: 12 kB / 311.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.1616, allocations: 0.5318 MB / 312.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.162, allocations: 179.1 kB / 312.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.1642, allocations: 2.038 MB / 314.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.1643, allocations: 228.8 kB / 314.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002175/0.1645, allocations: 115.4 kB / 314.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.1648, allocations: 216.2 kB / 315.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1648, allocations: 0 / 315.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of Templates: time 0.01469/0.1795, allocations: 12 MB / 327.1 MB, free: 14.76 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.225012833252549]