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.001918/0.001918, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.001499/0.001499, allocations: 149.5 kB / 24.26 MB, free: 180 kB / 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 1.452/1.452, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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.654e-06/1.654e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.923e-05, allocations: 9.969 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008647/0.008677, allocations: 5.52 MB / 272.8 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005645/0.01432, allocations: 2.091 MB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009926/0.01531, allocations: 43.69 kB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.01638, allocations: 429.2 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.01833, allocations: 492.5 kB / 275.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.01986, allocations: 0.5105 MB / 276.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00247/0.02233, allocations: 1.538 MB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007075/0.02304, allocations: 345.1 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.02431, allocations: 0.8185 MB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007865/0.02509, allocations: 0.518 MB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.02531, allocations: 128 kB / 279.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.02565, allocations: 175.9 kB / 279.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003548/0.026, allocations: 314.7 kB / 280.2 MB, free: 9.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005568/0.02656, allocations: 426.8 kB / 280.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.02872, allocations: 1.651 MB / 282.3 MB, free: 7.695 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.02872, allocations: 0 / 282.3 MB, free: 7.695 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.526e-06/0.02872, allocations: 8 kB / 282.3 MB, free: 7.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.02875, allocations: 0 / 282.3 MB, free: 7.688 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.003224/0.03197, allocations: 1.497 MB / 283.8 MB, free: 6.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.03202, allocations: 8.031 kB / 283.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/0.03243, allocations: 232 kB / 284 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.034, allocations: 0.7244 MB / 284.7 MB, free: 5.164 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.0341, allocations: 74.38 kB / 284.8 MB, free: 5.094 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.03429, allocations: 108.3 kB / 284.9 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.03619, allocations: 0.9196 MB / 285.8 MB, free: 4.051 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.667e-05/0.03623, allocations: 7.953 kB / 285.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-05/0.03633, allocations: 40 kB / 285.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.03635, allocations: 24 kB / 285.9 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.03784, allocations: 0.6403 MB / 286.5 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005201/0.04304, allocations: 2.646 MB / 289.2 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.04455, allocations: 0.5774 MB / 289.8 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1204/0.165, allocations: 262.1 kB / 290 MB, free: 32.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-05/0.1651, allocations: 16.17 kB / 290 MB, free: 32.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007272/0.1658, allocations: 344.9 kB / 290.4 MB, free: 32.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 2.615e-06/0.1658, allocations: 0 / 290.4 MB, free: 32.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.006305/0.1721, allocations: 2.952 MB / 293.3 MB, free: 31.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.1721, allocations: 67.41 kB / 293.4 MB, free: 31.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.1733, allocations: 0.8635 MB / 294.2 MB, free: 30.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.1734, allocations: 46.05 kB / 294.3 MB, free: 30.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000362/0.1737, allocations: 0.538 MB / 294.8 MB, free: 30.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.1739, allocations: 361.2 kB / 295.2 MB, free: 30.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.1742, allocations: 159.7 kB / 295.3 MB, free: 30.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.1742, allocations: 341.9 kB / 295.7 MB, free: 29.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005364/0.1748, allocations: 275.7 kB / 295.9 MB, free: 29.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/0.1754, allocations: 429.9 kB / 296.4 MB, free: 29.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.1766, allocations: 0.7541 MB / 297.1 MB, free: 28.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.1766, allocations: 5.953 kB / 297.1 MB, free: 28.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001938/0.1785, allocations: 1.069 MB / 298.2 MB, free: 28.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1786, allocations: 10.47 kB / 298.2 MB, free: 28.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.1786, allocations: 3.594 kB / 298.2 MB, free: 28.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005475/0.1791, allocations: 152.8 kB / 298.4 MB, free: 28.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007941/0.1799, allocations: 207.2 kB / 298.6 MB, free: 28.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/0.1831, allocations: 3.709 MB / 302.3 MB, free: 25.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/0.1837, allocations: 33.56 kB / 302.3 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/0.1838, allocations: 36 kB / 302.3 MB, free: 25.16 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.0004806/0.1843, allocations: 297.9 kB / 302.6 MB, free: 24.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.1845, allocations: 138.2 kB / 302.8 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.1864, allocations: 0.9647 MB / 303.7 MB, free: 24.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.1864, allocations: 9.625 kB / 303.7 MB, free: 24.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.1864, allocations: 7.391 kB / 303.7 MB, free: 24.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.1864, allocations: 6.203 kB / 303.7 MB, free: 24.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.1901, allocations: 2.148 MB / 305.9 MB, free: 23.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/0.1901, allocations: 3.781 kB / 305.9 MB, free: 23.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/0.1908, allocations: 187 kB / 306.1 MB, free: 23.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003933/0.1912, allocations: 126.1 kB / 306.2 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.1913, allocations: 30.66 kB / 306.2 MB, free: 23.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/0.1937, allocations: 3.341 MB / 309.6 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1937, allocations: 7.969 kB / 309.6 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.1958, allocations: 1.478 MB / 311.1 MB, free: 18.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/0.1961, allocations: 162.2 kB / 311.2 MB, free: 18.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.986e-05/0.1962, allocations: 24 kB / 311.2 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.1966, allocations: 23.66 kB / 311.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.1967, allocations: 89.16 kB / 311.4 MB, free: 18.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/0.1968, allocations: 31.52 kB / 311.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005786/0.1974, allocations: 0.6184 MB / 312 MB, free: 18 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1974, allocations: 0 / 312 MB, free: 18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009219/0.1983, allocations: 240.8 kB / 312.2 MB, free: 17.76 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.001944/0.2002, allocations: 468 kB / 312.7 MB, free: 17.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.202, allocations: 1.019 MB / 313.7 MB, free: 16.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.202, allocations: 64 / 313.7 MB, free: 16.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000856/0.2029, allocations: 0.6789 MB / 314.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009363/0.2038, allocations: 199.3 kB / 314.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.2067, allocations: 2.415 MB / 317 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.2071, allocations: 0.5146 MB / 317.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003421/0.2074, allocations: 115.2 kB / 317.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.2076, allocations: 72.48 kB / 317.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2076, allocations: 4 kB / 317.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of Templates: time 0.01698/0.2246, allocations: 10.96 MB / 328.7 MB, free: 1.797 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.863174124970101]