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.001718/0.001718, allocations: 84.78 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002161/0.002161, allocations: 164.5 kB / 23.95 MB, free: 4.148 MB / 14.72 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.464/1.464, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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+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 1.483e-06/1.483e-06, allocations: 3.938 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.529e-05, allocations: 6.281 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007778/0.007804, allocations: 5.549 MB / 330.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004975/0.01278, allocations: 2.24 MB / 332.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008569/0.01364, allocations: 36.78 kB / 332.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000901/0.01454, allocations: 428 kB / 333.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.01585, allocations: 0.5166 MB / 333.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.01698, allocations: 0.4898 MB / 334.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.01881, allocations: 1.54 MB / 335.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006365/0.01944, allocations: 347.2 kB / 336.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.02057, allocations: 0.8258 MB / 337 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000706/0.02128, allocations: 0.515 MB / 337.5 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.02144, allocations: 130 kB / 337.7 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.02179, allocations: 178 kB / 337.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.0221, allocations: 315.5 kB / 338.1 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004838/0.02259, allocations: 424.9 kB / 338.6 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.02449, allocations: 1.674 MB / 340.2 MB, free: 5.922 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.02449, allocations: 0 / 340.2 MB, free: 5.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02449, allocations: 0 / 340.2 MB, free: 5.922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.181e-05/0.02451, allocations: 0 / 340.2 MB, free: 5.922 MB / 302.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.002824/0.02734, allocations: 1.517 MB / 341.7 MB, free: 4.371 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.02737, allocations: 8.031 kB / 341.7 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004349/0.02781, allocations: 163.9 kB / 341.9 MB, free: 4.203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.02903, allocations: 0.6932 MB / 342.6 MB, free: 3.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.28e-05/0.02911, allocations: 70.38 kB / 342.7 MB, free: 3.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.02928, allocations: 112.3 kB / 342.8 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.031, allocations: 0.9197 MB / 343.7 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/0.03105, allocations: 7.953 kB / 343.7 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.143e-05/0.03114, allocations: 43.98 kB / 343.8 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.03117, allocations: 24 kB / 343.8 MB, free: 2.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.03254, allocations: 0.6324 MB / 344.4 MB, free: 1.652 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004963/0.03751, allocations: 2.615 MB / 347 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.03897, allocations: 0.5774 MB / 347.6 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/0.03952, allocations: 275.3 kB / 347.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.03956, allocations: 8.656 kB / 347.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007452/0.04031, allocations: 348.3 kB / 348.2 MB, free: 13.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=80): time 3.086e-06/0.04031, allocations: 0 / 348.2 MB, free: 13.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.006752/0.04706, allocations: 2.931 MB / 351.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.04713, allocations: 68.34 kB / 351.2 MB, free: 10.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.04838, allocations: 0.8721 MB / 352.1 MB, free: 9.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.026e-05/0.04845, allocations: 45.7 kB / 352.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005328/0.04898, allocations: 0.5398 MB / 352.7 MB, free: 9.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.04932, allocations: 356.9 kB / 353 MB, free: 8.859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/0.04958, allocations: 158.7 kB / 353.2 MB, free: 8.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.04976, allocations: 345.9 kB / 353.5 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/0.05033, allocations: 269.9 kB / 353.8 MB, free: 8.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000714/0.05105, allocations: 429.4 kB / 354.2 MB, free: 7.621 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.05243, allocations: 0.7599 MB / 355 MB, free: 6.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.05243, allocations: 0 / 355 MB, free: 6.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00201/0.05444, allocations: 1.037 MB / 356 MB, free: 5.762 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.05446, allocations: 8 kB / 356 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.05447, allocations: 4 kB / 356 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004584/0.05493, allocations: 140.7 kB / 356.1 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/0.05573, allocations: 211.7 kB / 356.3 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/0.05969, allocations: 3.685 MB / 360 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/0.06022, allocations: 31.98 kB / 360.1 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.06029, allocations: 36 kB / 360.1 MB, free: 1.453 MB / 318.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.0005143/0.0608, allocations: 302.1 kB / 360.4 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.06096, allocations: 107.3 kB / 360.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.06296, allocations: 0.967 MB / 361.5 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.06297, allocations: 12 kB / 361.5 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.06298, allocations: 0 / 361.5 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.06299, allocations: 7.922 kB / 361.5 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004013/0.067, allocations: 2.151 MB / 363.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.06701, allocations: 4 kB / 363.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008214/0.06783, allocations: 187.7 kB / 363.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003814/0.06821, allocations: 118 kB / 363.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.06827, allocations: 31.98 kB / 364 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003557/0.07183, allocations: 3.325 MB / 367.3 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.07183, allocations: 11.91 kB / 367.3 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.07446, allocations: 1.439 MB / 368.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.0748, allocations: 167.3 kB / 368.9 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.07492, allocations: 20 kB / 368.9 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.07533, allocations: 27.98 kB / 369 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.07548, allocations: 80.8 kB / 369 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.347e-05/0.07555, allocations: 31.98 kB / 369.1 MB, free: 8.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008236/0.07637, allocations: 0.6201 MB / 369.7 MB, free: 7.492 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.07637, allocations: 0 / 369.7 MB, free: 7.492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009173/0.07729, allocations: 247.9 kB / 369.9 MB, free: 7.25 MB / 334.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 (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.001662/0.07895, allocations: 479 kB / 370.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.08096, allocations: 1.014 MB / 371.4 MB, free: 5.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.08096, allocations: 4 kB / 371.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.0821, allocations: 0.6753 MB / 372.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009684/0.08307, allocations: 182.3 kB / 372.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.08689, allocations: 2.38 MB / 374.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.08747, allocations: 0.5072 MB / 375.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003601/0.08783, allocations: 119.2 kB / 375.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.08804, allocations: 72.48 kB / 375.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.08804, allocations: 0 / 375.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of Templates: time 0.02221/0.1102, allocations: 10.94 MB / 386.3 MB, free: 7.059 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.867843892425299]