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.001165/0.001165, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001989/0.001989, allocations: 166 kB / 25.61 MB, free: 8.582 MB / 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.054/1.054, allocations: 177 MB / 205.9 MB, free: 4.438 MB / 186.7 MB " [Timeout remaining time 179] 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.523e-06/1.523e-06, allocations: 0 / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.29e-05, allocations: 3.562 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.005821/0.005844, allocations: 5.954 MB / 280.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003816/0.00966, allocations: 2.254 MB / 282.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006465/0.01031, allocations: 39.69 kB / 282.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007264/0.01103, allocations: 429.2 kB / 282.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009856/0.01202, allocations: 0.5198 MB / 283.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.01281, allocations: 0.4989 MB / 283.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.01406, allocations: 1.542 MB / 285.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004635/0.01452, allocations: 345.2 kB / 285.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008831/0.01541, allocations: 0.8379 MB / 286.5 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005747/0.01598, allocations: 0.5219 MB / 287 MB, free: 7.305 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.01611, allocations: 131.9 kB / 287.2 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.01644, allocations: 183.8 kB / 287.3 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.01663, allocations: 306.8 kB / 287.6 MB, free: 6.695 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.01696, allocations: 434.8 kB / 288.1 MB, free: 6.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009187/0.01788, allocations: 0.9727 MB / 289 MB, free: 5.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.01788, allocations: 3.984 kB / 289 MB, free: 5.289 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.01788, allocations: 0 / 289 MB, free: 5.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.0179, allocations: 0 / 289 MB, free: 5.289 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.001714/0.01961, allocations: 1.632 MB / 290.7 MB, free: 3.613 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.01965, allocations: 8.031 kB / 290.7 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.02004, allocations: 251.8 kB / 290.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007309/0.02077, allocations: 0.7029 MB / 291.6 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/0.02082, allocations: 74.38 kB / 291.7 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.02092, allocations: 112.3 kB / 291.8 MB, free: 2.445 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007245/0.02165, allocations: 0.6555 MB / 292.5 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.02168, allocations: 16.11 kB / 292.5 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/0.02173, allocations: 39.94 kB / 292.5 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.02175, allocations: 24 kB / 292.5 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.02213, allocations: 297.7 kB / 292.8 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/0.02482, allocations: 2.51 MB / 295.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000554/0.02537, allocations: 391.8 kB / 295.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.02552, allocations: 145.5 kB / 295.9 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.02555, allocations: 16.66 kB / 295.9 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.0258, allocations: 229.9 kB / 296.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=80): time 2.935e-06/0.02581, allocations: 0 / 296.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.002522/0.02833, allocations: 1.975 MB / 298.1 MB, free: 11.99 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.02837, allocations: 60.41 kB / 298.1 MB, free: 11.92 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/0.02893, allocations: 0.7567 MB / 298.9 MB, free: 11.15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.02897, allocations: 41.7 kB / 298.9 MB, free: 11.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.02932, allocations: 0.6048 MB / 299.5 MB, free: 10.49 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.02952, allocations: 368.8 kB / 299.9 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.02969, allocations: 176.5 kB / 300.1 MB, free: 9.945 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.02982, allocations: 0.5159 MB / 300.6 MB, free: 9.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.02996, allocations: 106.5 kB / 300.7 MB, free: 9.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.03023, allocations: 382.6 kB / 301.1 MB, free: 8.848 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.0307, allocations: 0.5371 MB / 301.6 MB, free: 8.215 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.03071, allocations: 4 kB / 301.6 MB, free: 8.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0008137/0.03152, allocations: 0.7653 MB / 302.4 MB, free: 7.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.03154, allocations: 8 kB / 302.4 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.03155, allocations: 4 kB / 302.4 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.03181, allocations: 130.6 kB / 302.5 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.03221, allocations: 203.7 kB / 302.7 MB, free: 7.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.03497, allocations: 4.467 MB / 307.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/0.03563, allocations: 31.98 kB / 307.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.0357, allocations: 28 kB / 307.2 MB, free: 2.332 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.0003815/0.03608, allocations: 230.1 kB / 307.5 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.03627, allocations: 135.3 kB / 307.6 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.03749, allocations: 0.6562 MB / 308.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.0375, allocations: 12 kB / 308.3 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.03751, allocations: 8 kB / 308.3 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.03752, allocations: 3.984 kB / 308.3 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.04049, allocations: 1.725 MB / 310 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.0405, allocations: 0 / 310 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006171/0.04112, allocations: 175.7 kB / 310.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003239/0.04144, allocations: 111.6 kB / 310.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.0415, allocations: 24 kB / 310.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002759/0.04426, allocations: 4.06 MB / 314.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.04426, allocations: 4 kB / 314.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.04587, allocations: 1.056 MB / 315.4 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/0.04623, allocations: 155.2 kB / 315.6 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.04634, allocations: 24 kB / 315.6 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.0467, allocations: 27.98 kB / 315.6 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.04685, allocations: 84.73 kB / 315.7 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/0.04691, allocations: 31.98 kB / 315.7 MB, free: 9.391 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005055/0.04741, allocations: 474.8 kB / 316.2 MB, free: 8.934 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04741, allocations: 0 / 316.2 MB, free: 8.934 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001112/0.04853, allocations: 251.9 kB / 316.5 MB, free: 8.688 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.001237/0.04976, allocations: 415.9 kB / 316.9 MB, free: 8.402 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.05104, allocations: 0.8859 MB / 317.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.05105, allocations: 0 / 317.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007139/0.05176, allocations: 0.6673 MB / 318.4 MB, free: 6.773 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008554/0.05262, allocations: 189.9 kB / 318.6 MB, free: 6.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.05661, allocations: 2.258 MB / 320.9 MB, free: 4.242 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.05686, allocations: 229 kB / 321.1 MB, free: 4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003855/0.05724, allocations: 111.4 kB / 321.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/0.05766, allocations: 238.1 kB / 321.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of SimCode: time 1.613e-06/0.05766, allocations: 0 / 321.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of Templates: time 0.01974/0.0774, allocations: 12.29 MB / 333.7 MB, free: 7.508 MB / 314.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","",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.214275768958032]