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.001229/0.001229, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001229/0.001229, allocations: 162.5 kB / 25.61 MB, free: 8.453 MB / 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 1.074/1.074, allocations: 177.1 MB / 206 MB, free: 4.457 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 2.234e-06/2.234e-06, allocations: 0 / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.132e-05, allocations: 6.25 kB / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007182/0.007213, allocations: 5.943 MB / 280.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004996/0.01221, allocations: 2.25 MB / 282.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.01348, allocations: 39.69 kB / 282.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009032/0.01438, allocations: 433.2 kB / 282.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.01572, allocations: 0.5237 MB / 283.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.01682, allocations: 498.9 kB / 283.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.01848, allocations: 1.542 MB / 285.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005124/0.01899, allocations: 357.1 kB / 285.7 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.02006, allocations: 0.8339 MB / 286.6 MB, free: 7.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005957/0.02066, allocations: 0.518 MB / 287.1 MB, free: 7.426 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.02079, allocations: 128 kB / 287.2 MB, free: 7.301 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.02107, allocations: 179.9 kB / 287.4 MB, free: 7.125 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.02128, allocations: 314.7 kB / 287.7 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006918/0.02197, allocations: 426.8 kB / 288.1 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.02299, allocations: 0.9766 MB / 289.1 MB, free: 5.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.02299, allocations: 0 / 289.1 MB, free: 5.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.023, allocations: 0 / 289.1 MB, free: 5.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.02301, allocations: 0 / 289.1 MB, free: 5.418 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.001832/0.02484, allocations: 1.636 MB / 290.7 MB, free: 3.738 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.0249, allocations: 8.031 kB / 290.7 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004379/0.02533, allocations: 251.8 kB / 291 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007606/0.0261, allocations: 0.7029 MB / 291.7 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-05/0.02616, allocations: 86.28 kB / 291.8 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.02626, allocations: 104.3 kB / 291.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007903/0.02706, allocations: 0.6512 MB / 292.5 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.02709, allocations: 11.94 kB / 292.5 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-05/0.02715, allocations: 44 kB / 292.6 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.02717, allocations: 24 kB / 292.6 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.02758, allocations: 297.6 kB / 292.9 MB, free: 1.523 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/0.03077, allocations: 2.502 MB / 295.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/0.03139, allocations: 413.8 kB / 295.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.03156, allocations: 141.5 kB / 295.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.03159, allocations: 12.66 kB / 295.9 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.03188, allocations: 226 kB / 296.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of pre-optimization done (n=80): time 2.194e-06/0.03188, allocations: 0 / 296.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.002671/0.03455, allocations: 1.972 MB / 298.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.0346, allocations: 64.41 kB / 298.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006104/0.03521, allocations: 0.7527 MB / 299 MB, free: 11.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.03525, allocations: 53.62 kB / 299 MB, free: 11.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.03558, allocations: 0.6087 MB / 299.6 MB, free: 10.6 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.03579, allocations: 360.8 kB / 300 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.03597, allocations: 176.5 kB / 300.1 MB, free: 10.06 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.03613, allocations: 0.5237 MB / 300.7 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.03628, allocations: 106.5 kB / 300.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.03655, allocations: 366.7 kB / 301.1 MB, free: 8.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.03707, allocations: 0.551 MB / 301.7 MB, free: 8.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.03707, allocations: 0 / 301.7 MB, free: 8.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001225/0.03829, allocations: 0.765 MB / 302.4 MB, free: 7.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.03831, allocations: 12.53 kB / 302.5 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.03832, allocations: 11.94 kB / 302.5 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002649/0.03859, allocations: 126 kB / 302.6 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.039, allocations: 207.7 kB / 302.8 MB, free: 7.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.04147, allocations: 4.467 MB / 307.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.04181, allocations: 31.98 kB / 307.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.04185, allocations: 32 kB / 307.3 MB, free: 2.438 MB / 282.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.0002874/0.04214, allocations: 220.9 kB / 307.5 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.04226, allocations: 139.3 kB / 307.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008189/0.04308, allocations: 0.6561 MB / 308.3 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.04309, allocations: 8 kB / 308.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.04309, allocations: 4 kB / 308.3 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.0431, allocations: 3.984 kB / 308.3 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.04552, allocations: 1.725 MB / 310.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.04553, allocations: 11.98 kB / 310.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/0.04593, allocations: 171.7 kB / 310.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002346/0.04616, allocations: 103.5 kB / 310.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-05/0.0462, allocations: 24 kB / 310.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.04833, allocations: 4.056 MB / 314.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.04833, allocations: 7.938 kB / 314.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.04943, allocations: 1.056 MB / 315.5 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.04967, allocations: 163.2 kB / 315.7 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/0.04974, allocations: 24 kB / 315.7 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.04995, allocations: 27.92 kB / 315.7 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.05007, allocations: 80.8 kB / 315.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.05011, allocations: 23.98 kB / 315.8 MB, free: 9.508 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003449/0.05045, allocations: 470.8 kB / 316.3 MB, free: 9.055 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05045, allocations: 0 / 316.3 MB, free: 9.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001124/0.05157, allocations: 259.9 kB / 316.5 MB, free: 8.801 MB / 298.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.001031/0.05261, allocations: 429.1 kB / 316.9 MB, free: 8.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.05362, allocations: 0.8782 MB / 317.8 MB, free: 7.609 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.05362, allocations: 4 kB / 317.8 MB, free: 7.605 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005409/0.05416, allocations: 0.6548 MB / 318.5 MB, free: 6.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000625/0.05479, allocations: 199.7 kB / 318.7 MB, free: 6.719 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.05784, allocations: 2.243 MB / 320.9 MB, free: 4.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.05806, allocations: 236.9 kB / 321.1 MB, free: 4.133 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003303/0.05839, allocations: 115.4 kB / 321.3 MB, free: 4.016 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.05872, allocations: 250 kB / 321.5 MB, free: 3.77 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.05872, allocations: 0 / 321.5 MB, free: 3.77 MB / 298.7 MB Notification: Performance of Templates: time 0.01955/0.07827, allocations: 12.29 MB / 333.8 MB, free: 7.645 MB / 314.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.5840234947390854]