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.0009427/0.0009427, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002392, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009265/0.0009265, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002238, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.024/1.024, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08042/1.105, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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 2.043e-06/2.043e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.285e-05, allocations: 6.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007613/0.007635, allocations: 6.03 MB / 250.7 MB, free: 8.172 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.01125, allocations: 2.363 MB / 253.1 MB, free: 5.801 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004226/0.01167, allocations: 43.62 kB / 253.1 MB, free: 5.758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000534/0.01221, allocations: 473 kB / 253.6 MB, free: 5.293 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006937/0.0129, allocations: 0.5315 MB / 254.1 MB, free: 4.758 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000626/0.01353, allocations: 494.8 kB / 254.6 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.01464, allocations: 1.534 MB / 256.2 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004011/0.01504, allocations: 369 kB / 256.5 MB, free: 2.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008499/0.01589, allocations: 0.9499 MB / 257.5 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.01637, allocations: 0.4946 MB / 258 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.01649, allocations: 131.9 kB / 258.1 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.0167, allocations: 175.9 kB / 258.3 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.01685, allocations: 243.2 kB / 258.5 MB, free: 364 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002431/0.0171, allocations: 351.2 kB / 258.8 MB, free: 12 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006987/0.01779, allocations: 0.9106 MB / 259.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.0178, allocations: 0 / 259.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01781, allocations: 4 kB / 259.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.01782, allocations: 0 / 259.8 MB, free: 15.09 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.001552/0.01938, allocations: 1.749 MB / 261.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.0194, allocations: 8.031 kB / 261.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/0.01971, allocations: 277.7 kB / 261.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006015/0.02031, allocations: 0.5596 MB / 262.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.02035, allocations: 78.38 kB / 262.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.934e-05/0.02044, allocations: 108.3 kB / 262.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.02107, allocations: 0.669 MB / 263.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.02109, allocations: 7.953 kB / 263.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.02114, allocations: 40 kB / 263.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.02115, allocations: 24 kB / 263.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.02146, allocations: 268.6 kB / 263.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.0235, allocations: 1.961 MB / 265.5 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.02398, allocations: 416.4 kB / 265.9 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.02411, allocations: 130.7 kB / 266 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.02414, allocations: 16.64 kB / 266 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.02438, allocations: 227.1 kB / 266.3 MB, free: 8.398 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 2.174e-06/0.02438, allocations: 0 / 266.3 MB, free: 8.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002374/0.02675, allocations: 1.989 MB / 268.2 MB, free: 6.375 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.02679, allocations: 64.41 kB / 268.3 MB, free: 6.301 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/0.02723, allocations: 0.6849 MB / 269 MB, free: 5.605 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.02726, allocations: 41.7 kB / 269 MB, free: 5.559 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.02744, allocations: 438.5 kB / 269.5 MB, free: 5.125 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.02759, allocations: 356.8 kB / 269.8 MB, free: 4.773 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.02773, allocations: 178.8 kB / 270 MB, free: 4.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.02781, allocations: 353.8 kB / 270.3 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.02793, allocations: 97.41 kB / 270.4 MB, free: 4.145 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.02813, allocations: 289.7 kB / 270.7 MB, free: 3.789 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.0285, allocations: 0.4967 MB / 271.2 MB, free: 3.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02851, allocations: 0 / 271.2 MB, free: 3.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0005716/0.02908, allocations: 0.5892 MB / 271.8 MB, free: 2.613 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.0291, allocations: 11.94 kB / 271.8 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.02911, allocations: 11.98 kB / 271.8 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.02933, allocations: 126 kB / 271.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/0.02976, allocations: 251.2 kB / 272.2 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.03144, allocations: 3.134 MB / 275.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.03164, allocations: 31.98 kB / 275.4 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.03168, allocations: 32.06 kB / 275.4 MB, free: 14.86 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.000165/0.03184, allocations: 176.4 kB / 275.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.03192, allocations: 91.91 kB / 275.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005498/0.03247, allocations: 0.5353 MB / 276.2 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.03248, allocations: 12 kB / 276.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.03248, allocations: 0 / 276.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.03249, allocations: 3.984 kB / 276.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.03391, allocations: 1.38 MB / 277.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.03391, allocations: 4 kB / 277.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/0.03432, allocations: 226.1 kB / 277.8 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.03446, allocations: 111.3 kB / 277.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.03463, allocations: 89.62 kB / 278 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.03466, allocations: 27.98 kB / 278 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.03609, allocations: 2.829 MB / 280.9 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.03609, allocations: 8.062 kB / 280.9 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.03681, allocations: 0.8545 MB / 281.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.03687, allocations: 24 kB / 281.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.03706, allocations: 27.98 kB / 281.8 MB, free: 8.133 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/0.03714, allocations: 84.73 kB / 281.8 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.03717, allocations: 23.98 kB / 281.9 MB, free: 8.027 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002541/0.03743, allocations: 351.3 kB / 282.2 MB, free: 7.688 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03743, allocations: 3.938 kB / 282.2 MB, free: 7.684 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000579/0.03801, allocations: 255.9 kB / 282.5 MB, free: 7.434 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.001313/0.03932, allocations: 0.5838 MB / 283.1 MB, free: 7.121 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007615/0.04008, allocations: 0.7379 MB / 283.8 MB, free: 6.359 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.437e-05/0.04011, allocations: 31.84 kB / 283.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004579/0.04056, allocations: 0.5864 MB / 284.4 MB, free: 5.719 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008666/0.04143, allocations: 1.4 MB / 285.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005891/0.04732, allocations: 2.059 MB / 287.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.04748, allocations: 229 kB / 288.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002591/0.04774, allocations: 119.5 kB / 288.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.04802, allocations: 217.3 kB / 288.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.04802, allocations: 0 / 288.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of Templates: time 0.1028/0.1508, allocations: 12.2 MB / 300.6 MB, free: 31.96 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 240] 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","",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: 3.0614445507526398]