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.001908/0.001908, allocations: 103.5 kB / 20.97 MB, free: 3.445 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.00206/0.00206, allocations: 156.8 kB / 24.27 MB, free: 152 kB / 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.549/1.549, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.372e-06/1.372e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.077e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008919/0.008949, allocations: 6.043 MB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005057/0.01401, allocations: 2.247 MB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008528/0.01486, allocations: 39.69 kB / 280.5 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009319/0.01579, allocations: 441.2 kB / 280.9 MB, free: 9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.01727, allocations: 0.5198 MB / 281.5 MB, free: 8.477 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.01844, allocations: 498.9 kB / 282 MB, free: 7.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.02054, allocations: 1.542 MB / 283.5 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007126/0.02125, allocations: 361.1 kB / 283.9 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.02266, allocations: 0.8301 MB / 284.7 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008202/0.02348, allocations: 0.5297 MB / 285.2 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.02369, allocations: 128 kB / 285.3 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000374/0.02406, allocations: 175.9 kB / 285.5 MB, free: 4.406 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003452/0.02441, allocations: 322.7 kB / 285.8 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000646/0.02505, allocations: 434.8 kB / 286.2 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.02721, allocations: 1.674 MB / 287.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.02721, allocations: 0 / 287.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.02721, allocations: 0 / 287.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.02723, allocations: 0 / 287.9 MB, free: 1.984 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.003202/0.03043, allocations: 1.745 MB / 289.7 MB, free: 200 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.03047, allocations: 11.98 kB / 289.7 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1153/0.1458, allocations: 247.3 kB / 289.9 MB, free: 28.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.1475, allocations: 0.7245 MB / 290.6 MB, free: 28.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.1475, allocations: 74.11 kB / 290.7 MB, free: 28.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.1477, allocations: 104.2 kB / 290.8 MB, free: 28.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.1493, allocations: 0.973 MB / 291.8 MB, free: 27.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.305e-05/0.1494, allocations: 9.578 kB / 291.8 MB, free: 27.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.1495, allocations: 40.88 kB / 291.8 MB, free: 27.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.1495, allocations: 23.97 kB / 291.9 MB, free: 27.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.1507, allocations: 0.6237 MB / 292.5 MB, free: 27.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00493/0.1556, allocations: 3.333 MB / 295.8 MB, free: 25.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.1569, allocations: 0.5965 MB / 296.4 MB, free: 25.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004836/0.1574, allocations: 276.2 kB / 296.7 MB, free: 25.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.742e-05/0.1575, allocations: 22.86 kB / 296.7 MB, free: 25.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006309/0.1581, allocations: 360 kB / 297.1 MB, free: 25.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 3.526e-06/0.1581, allocations: 2.078 kB / 297.1 MB, free: 25.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.005793/0.1639, allocations: 2.966 MB / 300 MB, free: 23.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.1639, allocations: 66.78 kB / 300.1 MB, free: 23.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.165, allocations: 0.9405 MB / 301 MB, free: 23.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.1651, allocations: 49.66 kB / 301.1 MB, free: 23.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.1654, allocations: 0.6326 MB / 301.7 MB, free: 22.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.1656, allocations: 391.2 kB / 302.1 MB, free: 22.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.1659, allocations: 203.7 kB / 302.3 MB, free: 22.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.166, allocations: 0.5433 MB / 302.8 MB, free: 21.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005016/0.1665, allocations: 261.5 kB / 303.1 MB, free: 21.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.1671, allocations: 0.4903 MB / 303.6 MB, free: 21.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.1683, allocations: 0.8172 MB / 304.4 MB, free: 21.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.1683, allocations: 4.438 kB / 304.4 MB, free: 21.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001677/0.1699, allocations: 1.059 MB / 305.5 MB, free: 20.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.17, allocations: 9.75 kB / 305.5 MB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.17, allocations: 7.062 kB / 305.5 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004834/0.1705, allocations: 160.1 kB / 305.6 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.1711, allocations: 220.1 kB / 305.9 MB, free: 20.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/0.174, allocations: 4.986 MB / 310.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.1745, allocations: 31.98 kB / 310.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.1746, allocations: 32 kB / 310.9 MB, free: 14.88 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.0003861/0.175, allocations: 312.3 kB / 311.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.1751, allocations: 140.9 kB / 311.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.1766, allocations: 0.9476 MB / 312.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1766, allocations: 9.594 kB / 312.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.1766, allocations: 4 kB / 312.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.1766, allocations: 7.969 kB / 312.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003307/0.1799, allocations: 2.521 MB / 314.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.18, allocations: 4 kB / 314.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007156/0.1807, allocations: 187.7 kB / 315 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003703/0.181, allocations: 131.7 kB / 315.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-05/0.1811, allocations: 27.98 kB / 315.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/0.1834, allocations: 4.503 MB / 319.7 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1834, allocations: 4 kB / 319.7 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.1854, allocations: 1.568 MB / 321.3 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.1858, allocations: 159.2 kB / 321.4 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.1859, allocations: 24 kB / 321.4 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.1863, allocations: 27.92 kB / 321.5 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.1864, allocations: 80.8 kB / 321.5 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/0.1864, allocations: 36 kB / 321.6 MB, free: 3.789 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005274/0.187, allocations: 0.5966 MB / 322.2 MB, free: 3.199 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.187, allocations: 0 / 322.2 MB, free: 3.199 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000903/0.1879, allocations: 240 kB / 322.4 MB, free: 2.965 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.002834/0.1907, allocations: 467.6 kB / 322.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.1924, allocations: 1.204 MB / 324.1 MB, free: 1.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1924, allocations: 0.875 kB / 324.1 MB, free: 1.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008524/0.1933, allocations: 0.8308 MB / 324.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009819/0.1942, allocations: 181.1 kB / 325.1 MB, free: 456 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.1981, allocations: 2.391 MB / 327.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/0.1988, allocations: 0.5072 MB / 328 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003976/0.1992, allocations: 111.2 kB / 328.1 MB, free: 13.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.1994, allocations: 76.47 kB / 328.2 MB, free: 13.24 MB / 282.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1994, allocations: 3.938 kB / 328.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of Templates: time 0.02446/0.2238, allocations: 11.06 MB / 339.2 MB, free: 2.32 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.041893125046045]