Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001872/0.001872, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001786/0.001786, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.509/1.509, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.84 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3071, allocations: 53.31 MB / 432 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.009798/0.3169, allocations: 6.292 MB / 438.3 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00553/0.3224, allocations: 2.314 MB / 440.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.3237, allocations: 31.81 kB / 440.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.3248, allocations: 425.3 kB / 441.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.3267, allocations: 0.5007 MB / 441.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.3281, allocations: 0.499 MB / 442.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002518/0.3306, allocations: 1.496 MB / 443.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007816/0.3314, allocations: 372.7 kB / 444 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.3325, allocations: 0.5643 MB / 444.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.3336, allocations: 0.6728 MB / 445.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.3338, allocations: 132 kB / 445.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/0.3342, allocations: 180 kB / 445.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003566/0.3345, allocations: 306.9 kB / 445.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006969/0.3352, allocations: 0.6372 MB / 446.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.3377, allocations: 1.667 MB / 448.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3377, allocations: 0 / 448.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3377, allocations: 0 / 448.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.556e-05/0.3378, allocations: 4 kB / 448.1 MB, free: 7.27 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.003377/0.3411, allocations: 1.6 MB / 449.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3412, allocations: 8.031 kB / 449.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/0.3416, allocations: 167.9 kB / 449.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.3431, allocations: 0.775 MB / 450.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.33e-05/0.3432, allocations: 74.12 kB / 450.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.3434, allocations: 108 kB / 450.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.3454, allocations: 0.9079 MB / 451.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-05/0.3455, allocations: 15.89 kB / 451.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-05/0.3456, allocations: 39.94 kB / 451.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/0.3456, allocations: 24 kB / 451.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.347, allocations: 0.6402 MB / 452.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006389/0.3534, allocations: 3.214 MB / 455.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.3551, allocations: 0.5804 MB / 456.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.3556, allocations: 266.7 kB / 456.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.237e-05/0.3557, allocations: 16.56 kB / 456.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007654/0.3565, allocations: 344.4 kB / 456.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.847e-06/0.3565, allocations: 3.938 kB / 456.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006905/0.3634, allocations: 3.082 MB / 459.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.3634, allocations: 60.41 kB / 460 MB, free: 11.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.3648, allocations: 0.943 MB / 460.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.3648, allocations: 45.64 kB / 461 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005405/0.3654, allocations: 0.5205 MB / 461.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004265/0.3658, allocations: 364.9 kB / 461.9 MB, free: 9.133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/0.3661, allocations: 162.6 kB / 462 MB, free: 8.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3663, allocations: 349.9 kB / 462.4 MB, free: 8.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006308/0.3669, allocations: 269.9 kB / 462.6 MB, free: 8.359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007185/0.3676, allocations: 421.5 kB / 463 MB, free: 7.891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.3689, allocations: 0.7444 MB / 463.8 MB, free: 7.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3689, allocations: 0 / 463.8 MB, free: 7.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002262/0.3712, allocations: 1.033 MB / 464.8 MB, free: 6.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.3712, allocations: 8.438 kB / 464.8 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.3712, allocations: 8 kB / 464.8 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005239/0.3718, allocations: 141.6 kB / 465 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008267/0.3726, allocations: 207.7 kB / 465.2 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004478/0.3771, allocations: 3.988 MB / 469.2 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000684/0.3777, allocations: 31.98 kB / 469.2 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/0.3778, allocations: 36 kB / 469.2 MB, free: 1.359 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.0005414/0.3784, allocations: 306.2 kB / 469.5 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.3785, allocations: 115.4 kB / 469.6 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.3805, allocations: 0.9479 MB / 470.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.3805, allocations: 12 kB / 470.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3805, allocations: 8 kB / 470.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.3805, allocations: 3.984 kB / 470.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004284/0.3848, allocations: 2.482 MB / 473.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.3848, allocations: 4 kB / 473.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008225/0.3857, allocations: 183.7 kB / 473.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003944/0.3861, allocations: 126.1 kB / 473.4 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.628e-05/0.3861, allocations: 31.98 kB / 473.4 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00375/0.3899, allocations: 3.601 MB / 477 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3899, allocations: 4.031 kB / 477 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.3926, allocations: 1.431 MB / 478.5 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004914/0.3931, allocations: 240.3 kB / 478.7 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.3932, allocations: 35.92 kB / 478.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.3936, allocations: 24 kB / 478.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.3938, allocations: 72.89 kB / 478.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.3938, allocations: 24 kB / 478.9 MB, free: 7.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009382/0.3948, allocations: 0.679 MB / 479.5 MB, free: 6.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3948, allocations: 0 / 479.5 MB, free: 6.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000944/0.3957, allocations: 244.1 kB / 479.8 MB, free: 6.305 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.001588/0.3973, allocations: 463.1 kB / 480.2 MB, free: 6.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.3994, allocations: 1.002 MB / 481.2 MB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3994, allocations: 0 / 481.2 MB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.4006, allocations: 0.6721 MB / 481.9 MB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.4017, allocations: 179.4 kB / 482.1 MB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/0.4064, allocations: 2.618 MB / 484.7 MB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008876/0.4073, allocations: 1.108 MB / 485.8 MB, free: 304 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004554/0.4078, allocations: 119.6 kB / 485.9 MB, free: 180 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.408, allocations: 79.42 kB / 486 MB, free: 100 kB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.408, allocations: 0 / 486 MB, free: 100 kB / 382.1 MB Notification: Performance of Templates: time 0.02475/0.4327, allocations: 11.62 MB / 497.6 MB, free: 4.551 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.045434369239956]