Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009945/0.0009945, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001615/0.002609, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009639/0.0009639, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.00209, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8618/0.8618, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1459/1.008, allocations: 52.5 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.712e-05, allocations: 2.312 kB / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.01214/0.01215, allocations: 5.99 MB / 245.7 MB, free: 368 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006981/0.01914, allocations: 2.221 MB / 248 MB, free: 14.15 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004612/0.0196, allocations: 41.47 kB / 248 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006739/0.02027, allocations: 472.3 kB / 248.5 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003862/0.02413, allocations: 0.4935 MB / 249 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009197/0.02505, allocations: 0.5157 MB / 249.5 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.02639, allocations: 1.519 MB / 251 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000478/0.02687, allocations: 366.8 kB / 251.3 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.03093, allocations: 0.9538 MB / 252.3 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006183/0.03155, allocations: 0.4946 MB / 252.8 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.0317, allocations: 132 kB / 252.9 MB, free: 9.148 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.03196, allocations: 159.9 kB / 253.1 MB, free: 8.992 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.03216, allocations: 243.2 kB / 253.3 MB, free: 8.754 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.03248, allocations: 355.2 kB / 253.7 MB, free: 8.406 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004163/0.03664, allocations: 0.8988 MB / 254.6 MB, free: 7.504 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.25e-05/0.03666, allocations: 0 / 254.6 MB, free: 7.504 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.03666, allocations: 0 / 254.6 MB, free: 7.504 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.03668, allocations: 4 kB / 254.6 MB, free: 7.5 MB / 250.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.001954/0.03863, allocations: 1.738 MB / 256.3 MB, free: 5.734 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.03866, allocations: 8.031 kB / 256.3 MB, free: 5.727 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.04187, allocations: 172.8 kB / 256.5 MB, free: 5.559 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007539/0.04262, allocations: 0.5558 MB / 257 MB, free: 4.973 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.774e-05/0.04268, allocations: 82.31 kB / 257.1 MB, free: 4.895 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.04279, allocations: 104.3 kB / 257.2 MB, free: 4.793 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008249/0.04362, allocations: 0.669 MB / 257.9 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.04365, allocations: 15.94 kB / 257.9 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/0.04371, allocations: 40 kB / 257.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.04373, allocations: 27.98 kB / 258 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.04415, allocations: 260.6 kB / 258.2 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005685/0.04984, allocations: 1.945 MB / 260.2 MB, free: 1.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/0.05047, allocations: 425 kB / 260.6 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.05064, allocations: 134.7 kB / 260.7 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.05068, allocations: 12.66 kB / 260.7 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.05098, allocations: 231.1 kB / 261 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of pre-optimization done (n=80): time 2.655e-06/0.05098, allocations: 0 / 261 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of matching and sorting (n=100): time 0.002836/0.05381, allocations: 1.997 MB / 263 MB, free: 14.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.05384, allocations: 60.41 kB / 263 MB, free: 14.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004115/0.05426, allocations: 0.6771 MB / 263.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.05429, allocations: 45.7 kB / 263.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.05447, allocations: 430.6 kB / 264.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.05463, allocations: 364.8 kB / 264.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.05476, allocations: 174.8 kB / 264.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.317e-05/0.05485, allocations: 345.9 kB / 265 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.05496, allocations: 93.41 kB / 265.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.05515, allocations: 301.6 kB / 265.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.05553, allocations: 0.5045 MB / 265.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.05553, allocations: 4 kB / 265.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0005634/0.05609, allocations: 0.5851 MB / 266.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.05611, allocations: 14.41 kB / 266.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.05611, allocations: 8 kB / 266.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.05633, allocations: 116.4 kB / 266.6 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.05675, allocations: 256.8 kB / 266.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.0586, allocations: 3.137 MB / 270 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.05882, allocations: 35.98 kB / 270.1 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.05885, allocations: 24 kB / 270.1 MB, free: 7.398 MB / 266.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.0001618/0.05901, allocations: 176.4 kB / 270.3 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.05909, allocations: 95.94 kB / 270.3 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005368/0.05962, allocations: 0.5312 MB / 270.9 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.05963, allocations: 15.98 kB / 270.9 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.05963, allocations: 0 / 270.9 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.05964, allocations: 7.984 kB / 270.9 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.06102, allocations: 1.376 MB / 272.3 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.06102, allocations: 4 kB / 272.3 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.06143, allocations: 218.3 kB / 272.5 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.06162, allocations: 99.31 kB / 272.6 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.06181, allocations: 97.98 kB / 272.7 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.06184, allocations: 27.98 kB / 272.7 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.06322, allocations: 2.828 MB / 275.5 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.06322, allocations: 4.141 kB / 275.5 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009102/0.06413, allocations: 0.8662 MB / 276.4 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/0.06419, allocations: 24 kB / 276.4 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.06436, allocations: 28 kB / 276.5 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/0.06445, allocations: 84.72 kB / 276.5 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.06448, allocations: 20 kB / 276.6 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002422/0.06472, allocations: 351.3 kB / 276.9 MB, free: 236 kB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.06472, allocations: 0 / 276.9 MB, free: 236 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004952/0.06522, allocations: 252 kB / 277.2 MB, free: 15.98 MB / 282.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.001159/0.06638, allocations: 0.5696 MB / 277.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006743/0.06705, allocations: 0.7611 MB / 278.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.905e-05/0.06707, allocations: 16 kB / 278.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004234/0.06749, allocations: 0.5819 MB / 279.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008589/0.06835, allocations: 1.393 MB / 280.5 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/0.07344, allocations: 2.071 MB / 282.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.07359, allocations: 229 kB / 282.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.07381, allocations: 111.4 kB / 282.9 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005049/0.07431, allocations: 217.3 kB / 283.1 MB, free: 9.906 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.07431, allocations: 4 kB / 283.1 MB, free: 9.902 MB / 282.7 MB Notification: Performance of Templates: time 0.01492/0.08923, allocations: 12.15 MB / 295.2 MB, free: 13.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8590630842372775]