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.0009243/0.0009243, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001255/0.002179, allocations: 449.7 kB / 10.37 MB, free: 332 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.0008312/0.0008312, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001336/0.002167, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9671/0.9671, allocations: 173.3 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0857/1.053, allocations: 52.5 MB / 238.3 MB, free: 4.426 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.533e-06/1.533e-06, allocations: 0 / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.875e-05, allocations: 10.31 kB / 239.5 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.005513/0.005532, allocations: 5.997 MB / 245.5 MB, free: 13.14 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003439/0.008971, allocations: 2.231 MB / 247.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004976/0.009469, allocations: 43.69 kB / 247.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000625/0.01009, allocations: 453.1 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007759/0.01087, allocations: 0.5005 MB / 248.8 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009997/0.01187, allocations: 0.5144 MB / 249.3 MB, free: 9.395 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.01303, allocations: 1.523 MB / 250.8 MB, free: 7.867 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.01344, allocations: 361.1 kB / 251.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008023/0.01424, allocations: 0.946 MB / 252.1 MB, free: 6.535 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004907/0.01473, allocations: 0.4985 MB / 252.6 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.01485, allocations: 124 kB / 252.7 MB, free: 5.914 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.01506, allocations: 167.9 kB / 252.9 MB, free: 5.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.01521, allocations: 243.1 kB / 253.1 MB, free: 5.512 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002734/0.01549, allocations: 347.2 kB / 253.5 MB, free: 5.172 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000786/0.01627, allocations: 0.9066 MB / 254.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.731e-05/0.01629, allocations: 0 / 254.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01629, allocations: 0 / 254.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.618e-05/0.01632, allocations: 0 / 254.4 MB, free: 4.262 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.001681/0.018, allocations: 1.734 MB / 256.1 MB, free: 2.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.01803, allocations: 12.03 kB / 256.1 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.0182, allocations: 168.8 kB / 256.3 MB, free: 2.324 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008798/0.01908, allocations: 0.552 MB / 256.8 MB, free: 1.742 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/0.01913, allocations: 78.36 kB / 256.9 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/0.01922, allocations: 104.3 kB / 257 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.01988, allocations: 0.6768 MB / 257.7 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.01991, allocations: 15.89 kB / 257.7 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.01995, allocations: 40 kB / 257.7 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.01996, allocations: 24 kB / 257.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.02031, allocations: 264.6 kB / 258 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/0.02258, allocations: 1.953 MB / 260 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005612/0.02315, allocations: 423.9 kB / 260.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.02329, allocations: 130.7 kB / 260.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.02333, allocations: 16.59 kB / 260.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.02358, allocations: 231.1 kB / 260.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 2.686e-06/0.02358, allocations: 0 / 260.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002516/0.0261, allocations: 1.956 MB / 262.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.02613, allocations: 60.41 kB / 262.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.0266, allocations: 0.6849 MB / 263.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.02663, allocations: 41.7 kB / 263.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.02709, allocations: 430.6 kB / 263.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.02725, allocations: 360.8 kB / 264.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.02739, allocations: 174.8 kB / 264.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.02747, allocations: 349.8 kB / 264.8 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.02759, allocations: 97.39 kB / 264.9 MB, free: 9.484 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.02778, allocations: 293.6 kB / 265.2 MB, free: 9.129 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.02816, allocations: 492.8 kB / 265.6 MB, free: 8.574 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.02817, allocations: 4 kB / 265.6 MB, free: 8.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0005817/0.02875, allocations: 0.5894 MB / 266.2 MB, free: 7.965 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.02877, allocations: 11.94 kB / 266.2 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.02878, allocations: 4 kB / 266.3 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.02903, allocations: 113.8 kB / 266.4 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.02951, allocations: 258.7 kB / 266.6 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.03144, allocations: 3.129 MB / 269.7 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.0317, allocations: 31.98 kB / 269.8 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.03173, allocations: 28 kB / 269.8 MB, free: 4.23 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.0001949/0.03193, allocations: 189.2 kB / 270 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.154e-05/0.03201, allocations: 87.92 kB / 270.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005894/0.0326, allocations: 0.5312 MB / 270.6 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.0326, allocations: 16 kB / 270.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.03261, allocations: 3.938 kB / 270.6 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.03262, allocations: 3.984 kB / 270.6 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.03445, allocations: 1.376 MB / 272 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.03446, allocations: 4 kB / 272 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.03489, allocations: 219.7 kB / 272.2 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.03505, allocations: 103.3 kB / 272.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.03525, allocations: 93.95 kB / 272.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.03528, allocations: 27.98 kB / 272.4 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1161/0.1514, allocations: 2.83 MB / 275.3 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1514, allocations: 3.125 kB / 275.3 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009918/0.1524, allocations: 0.8508 MB / 276.1 MB, free: 22.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.1525, allocations: 24.92 kB / 276.2 MB, free: 22.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.1527, allocations: 26.38 kB / 276.2 MB, free: 22.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.1528, allocations: 82.88 kB / 276.3 MB, free: 22.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.1528, allocations: 21.12 kB / 276.3 MB, free: 22.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003263/0.1532, allocations: 352.9 kB / 276.6 MB, free: 22.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1532, allocations: 0 / 276.6 MB, free: 22.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006696/0.1538, allocations: 247.1 kB / 276.9 MB, free: 22.93 MB / 266.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.001167/0.155, allocations: 0.5869 MB / 277.5 MB, free: 22.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008149/0.1558, allocations: 0.7443 MB / 278.2 MB, free: 22.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.9e-05/0.1558, allocations: 17.77 kB / 278.2 MB, free: 22.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.1562, allocations: 0.5316 MB / 278.7 MB, free: 22.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.1568, allocations: 259 kB / 279 MB, free: 22.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.1624, allocations: 2.08 MB / 281.1 MB, free: 21.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.1626, allocations: 228.4 kB / 281.3 MB, free: 21.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002771/0.1628, allocations: 114.5 kB / 281.4 MB, free: 21.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.1631, allocations: 214.6 kB / 281.6 MB, free: 21.18 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1631, allocations: 0 / 281.6 MB, free: 21.18 MB / 266.7 MB Notification: Performance of Templates: time 0.01511/0.1783, allocations: 12.36 MB / 294 MB, free: 16.43 MB / 266.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.963730052113533]