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.001851/0.001851, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.002443/0.002443, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 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.539/1.539, allocations: 230.3 MB / 258 MB, free: 8.258 MB / 206.1 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 0.002019/0.002019, allocations: 59.91 kB / 378.8 MB, free: 2.879 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2564, allocations: 53.36 MB / 432.1 MB, free: 7.105 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.00911/0.2655, allocations: 6.292 MB / 438.4 MB, free: 0.7852 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004923/0.2704, allocations: 2.325 MB / 440.7 MB, free: 14.45 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008497/0.2712, allocations: 39.69 kB / 440.8 MB, free: 14.41 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000884/0.2721, allocations: 417.4 kB / 441.2 MB, free: 14 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001141/0.2733, allocations: 0.5046 MB / 441.7 MB, free: 13.5 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.2743, allocations: 0.4912 MB / 442.2 MB, free: 13 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001872/0.2762, allocations: 1.5 MB / 443.7 MB, free: 11.5 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00066/0.2768, allocations: 381.2 kB / 444 MB, free: 11.1 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008964/0.2777, allocations: 0.5798 MB / 444.6 MB, free: 10.52 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007996/0.2785, allocations: 0.669 MB / 445.3 MB, free: 9.848 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.2787, allocations: 132 kB / 445.4 MB, free: 9.719 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.2791, allocations: 176 kB / 445.6 MB, free: 9.547 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000327/0.2794, allocations: 314.8 kB / 445.9 MB, free: 9.238 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006898/0.2801, allocations: 0.6411 MB / 446.5 MB, free: 8.594 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001992/0.2821, allocations: 1.667 MB / 448.2 MB, free: 6.926 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2821, allocations: 0 / 448.2 MB, free: 6.926 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.272e-06/0.2821, allocations: 0 / 448.2 MB, free: 6.926 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.797e-05/0.2821, allocations: 0 / 448.2 MB, free: 6.926 MB / 350.1 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.002877/0.285, allocations: 1.517 MB / 449.7 MB, free: 5.371 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.285, allocations: 12.02 kB / 449.7 MB, free: 5.359 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004169/0.2854, allocations: 160 kB / 449.9 MB, free: 5.203 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.2867, allocations: 0.7067 MB / 450.6 MB, free: 4.465 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.865e-05/0.2868, allocations: 78.38 kB / 450.7 MB, free: 4.391 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.2869, allocations: 108.3 kB / 450.8 MB, free: 4.285 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.2887, allocations: 0.9117 MB / 451.7 MB, free: 3.355 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.232e-05/0.2887, allocations: 7.938 kB / 451.7 MB, free: 3.348 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.368e-05/0.2888, allocations: 47.94 kB / 451.7 MB, free: 3.301 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.2888, allocations: 24 kB / 451.8 MB, free: 3.277 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.2902, allocations: 0.6402 MB / 452.4 MB, free: 2.637 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005242/0.2955, allocations: 3.119 MB / 455.5 MB, free: 15.4 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.2969, allocations: 0.5693 MB / 456.1 MB, free: 14.82 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/0.2974, allocations: 275.3 kB / 456.4 MB, free: 14.55 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.2975, allocations: 16.64 kB / 456.4 MB, free: 14.53 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007456/0.2982, allocations: 344.4 kB / 456.7 MB, free: 14.18 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=80): time 2.575e-06/0.2982, allocations: 0 / 456.7 MB, free: 14.18 MB / 366.1 MB
Notification: Performance of matching and sorting (n=100): time 0.006597/0.3048, allocations: 2.935 MB / 459.7 MB, free: 11.21 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.3049, allocations: 64.39 kB / 459.7 MB, free: 11.14 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.3062, allocations: 0.943 MB / 460.7 MB, free: 10.19 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.039e-05/0.3063, allocations: 41.7 kB / 460.7 MB, free: 10.14 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004982/0.3068, allocations: 0.5243 MB / 461.2 MB, free: 9.609 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000331/0.3071, allocations: 364.9 kB / 461.6 MB, free: 9.25 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.3074, allocations: 162.6 kB / 461.7 MB, free: 9.086 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001685/0.3075, allocations: 349.9 kB / 462.1 MB, free: 8.738 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/0.3082, allocations: 265.9 kB / 462.3 MB, free: 8.48 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/0.3089, allocations: 433.4 kB / 462.8 MB, free: 8.004 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.3102, allocations: 0.7444 MB / 463.5 MB, free: 7.211 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3102, allocations: 0 / 463.5 MB, free: 7.211 MB / 366.1 MB
Notification: Performance of matching and sorting (n=125) (initialization): time 0.002085/0.3123, allocations: 1.025 MB / 464.5 MB, free: 6.168 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3123, allocations: 4 kB / 464.5 MB, free: 6.164 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.3124, allocations: 8.391 kB / 464.5 MB, free: 6.156 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004722/0.3128, allocations: 149.6 kB / 464.7 MB, free: 6.004 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008115/0.3136, allocations: 207.7 kB / 464.9 MB, free: 5.801 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004309/0.3179, allocations: 3.781 MB / 468.7 MB, free: 1.801 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.3185, allocations: 28 kB / 468.7 MB, free: 1.773 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.812e-05/0.3185, allocations: 35.98 kB / 468.7 MB, free: 1.738 MB / 366.1 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.0004893/0.319, allocations: 301.6 kB / 469 MB, free: 1.434 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.3192, allocations: 115.2 kB / 469.1 MB, free: 1.32 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.3213, allocations: 0.9595 MB / 470.1 MB, free: 356 kB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3213, allocations: 8 kB / 470.1 MB, free: 348 kB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3213, allocations: 4 kB / 470.1 MB, free: 344 kB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.3213, allocations: 7.984 kB / 470.1 MB, free: 336 kB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004523/0.3259, allocations: 2.431 MB / 472.6 MB, free: 13.79 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.3259, allocations: 4 kB / 472.6 MB, free: 13.78 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007956/0.3267, allocations: 183.7 kB / 472.7 MB, free: 13.6 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000395/0.3271, allocations: 126 kB / 472.9 MB, free: 13.47 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.307e-05/0.3271, allocations: 35.98 kB / 472.9 MB, free: 13.44 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003774/0.3309, allocations: 3.378 MB / 476.3 MB, free: 9.832 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.3309, allocations: 7.938 kB / 476.3 MB, free: 9.824 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.3336, allocations: 1.431 MB / 477.7 MB, free: 8.332 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006035/0.3342, allocations: 171.2 kB / 477.9 MB, free: 8.164 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.3345, allocations: 20 kB / 477.9 MB, free: 8.145 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005445/0.335, allocations: 35.92 kB / 477.9 MB, free: 8.109 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.3352, allocations: 76.89 kB / 478 MB, free: 8.035 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.638e-05/0.3353, allocations: 28 kB / 478 MB, free: 8.008 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.001236/0.3365, allocations: 0.6708 MB / 478.7 MB, free: 7.34 MB / 382.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3365, allocations: 0 / 478.7 MB, free: 7.34 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.001288/0.3378, allocations: 244.4 kB / 478.9 MB, free: 7.102 MB / 382.1 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 (88):
 * Single equations (assignments): 84
 * 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.001779/0.3396, allocations: 453.6 kB / 479.4 MB, free: 6.793 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.002443/0.3421, allocations: 1.018 MB / 480.4 MB, free: 5.746 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.3421, allocations: 0 / 480.4 MB, free: 5.746 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.00126/0.3433, allocations: 0.6677 MB / 481.1 MB, free: 5.055 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.3445, allocations: 183.6 kB / 481.3 MB, free: 4.883 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00471/0.3492, allocations: 2.617 MB / 483.9 MB, free: 2.195 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00099/0.3502, allocations: 1.104 MB / 485 MB, free: 1.066 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0004238/0.3506, allocations: 119.6 kB / 485.1 MB, free: 0.9453 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.3508, allocations: 79.36 kB / 485.2 MB, free: 0.8672 MB / 382.1 MB
Notification: Performance of SimCode: time 1.062e-06/0.3508, allocations: 4 kB / 485.2 MB, free: 0.8633 MB / 382.1 MB
Notification: Performance of Templates: time 0.02483/0.3757, allocations: 11.88 MB / 497.1 MB, free: 5.043 MB / 398.1 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=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480]
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.105615678243339]