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.001017/0.001017, allocations: 80.8 kB / 21.49 MB, free: 2.988 MB / 18.57 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.0013/0.0013, allocations: 169.6 kB / 24.91 MB, free: 8.77 MB / 18.57 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 0.9741/0.9741, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.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 1.092e-06/1.092e-06, allocations: 3.938 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.268e-06/1.036e-05, allocations: 2.312 kB / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.005511/0.005522, allocations: 5.936 MB / 279.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.008737, allocations: 2.348 MB / 281.7 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004724/0.009209, allocations: 43.69 kB / 281.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.009789, allocations: 417.2 kB / 282.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008023/0.01059, allocations: 0.5276 MB / 282.7 MB, free: 8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007073/0.0113, allocations: 498.9 kB / 283.2 MB, free: 7.512 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.0125, allocations: 1.546 MB / 284.7 MB, free: 5.961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.0129, allocations: 361.1 kB / 285.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007842/0.01369, allocations: 0.8379 MB / 285.9 MB, free: 4.734 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004614/0.01415, allocations: 0.4985 MB / 286.4 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.01426, allocations: 128 kB / 286.6 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.01446, allocations: 183.8 kB / 286.7 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.01463, allocations: 322.7 kB / 287 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.0149, allocations: 426.8 kB / 287.5 MB, free: 3.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007153/0.01562, allocations: 0.9728 MB / 288.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.01562, allocations: 7.938 kB / 288.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.01562, allocations: 0 / 288.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.01563, allocations: 0 / 288.4 MB, free: 2.211 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.001379/0.01701, allocations: 1.499 MB / 289.9 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.01704, allocations: 16.03 kB / 290 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.01731, allocations: 184.7 kB / 290.1 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1032/0.1205, allocations: 0.5566 MB / 290.7 MB, free: 25.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.1205, allocations: 75.45 kB / 290.8 MB, free: 25.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.1207, allocations: 102.8 kB / 290.9 MB, free: 25.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008322/0.1215, allocations: 0.6664 MB / 291.5 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.1215, allocations: 12.88 kB / 291.5 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.1216, allocations: 43.11 kB / 291.6 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.1216, allocations: 25.12 kB / 291.6 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003766/0.122, allocations: 263.2 kB / 291.9 MB, free: 24.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/0.1244, allocations: 1.942 MB / 293.8 MB, free: 24.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.1249, allocations: 412.9 kB / 294.2 MB, free: 24.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.1251, allocations: 131.7 kB / 294.3 MB, free: 24.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.1251, allocations: 14.86 kB / 294.4 MB, free: 24.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.1254, allocations: 232.4 kB / 294.6 MB, free: 24.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 1.954e-06/0.1254, allocations: 0 / 294.6 MB, free: 24.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002751/0.1281, allocations: 1.945 MB / 296.5 MB, free: 23.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.1282, allocations: 66.2 kB / 296.6 MB, free: 23.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006146/0.1288, allocations: 0.6899 MB / 297.3 MB, free: 23.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.1288, allocations: 45.44 kB / 297.3 MB, free: 23.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.129, allocations: 432.9 kB / 297.8 MB, free: 23.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.1292, allocations: 363.2 kB / 298.1 MB, free: 23.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.1293, allocations: 175.4 kB / 298.3 MB, free: 23.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.224e-05/0.1294, allocations: 348.7 kB / 298.6 MB, free: 22.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.1295, allocations: 94.83 kB / 298.7 MB, free: 22.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.1298, allocations: 298.6 kB / 299 MB, free: 22.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.1302, allocations: 497.8 kB / 299.5 MB, free: 22.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1302, allocations: 2.312 kB / 299.5 MB, free: 22.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0007234/0.1309, allocations: 0.5832 MB / 300.1 MB, free: 22.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1309, allocations: 8.25 kB / 300.1 MB, free: 22.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.131, allocations: 4.781 kB / 300.1 MB, free: 22.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/0.1312, allocations: 116.6 kB / 300.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.1316, allocations: 208.7 kB / 300.4 MB, free: 22.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.1331, allocations: 3.126 MB / 303.5 MB, free: 19.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.1333, allocations: 31.97 kB / 303.6 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.1333, allocations: 33.28 kB / 303.6 MB, free: 19.72 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.0001643/0.1335, allocations: 169.6 kB / 303.8 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-05/0.1336, allocations: 91.94 kB / 303.9 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005846/0.1342, allocations: 0.5432 MB / 304.4 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1342, allocations: 14.56 kB / 304.4 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1342, allocations: 2.562 kB / 304.4 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1342, allocations: 3.938 kB / 304.4 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.1357, allocations: 1.372 MB / 305.8 MB, free: 18.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.1357, allocations: 7.281 kB / 305.8 MB, free: 18.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.136, allocations: 170 kB / 306 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/0.1362, allocations: 93.64 kB / 306.1 MB, free: 18.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.1362, allocations: 30.92 kB / 306.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.1373, allocations: 2.819 MB / 308.9 MB, free: 16.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1373, allocations: 3.781 kB / 308.9 MB, free: 16.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006481/0.1379, allocations: 0.8591 MB / 309.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.1381, allocations: 104.8 kB / 309.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/0.1381, allocations: 23.81 kB / 309.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.1383, allocations: 33.48 kB / 309.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.1384, allocations: 75.02 kB / 310 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.1384, allocations: 28.7 kB / 310 MB, free: 15.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002395/0.1386, allocations: 358.4 kB / 310.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1386, allocations: 0 / 310.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005647/0.1392, allocations: 244 kB / 310.6 MB, free: 15.27 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.001079/0.1403, allocations: 0.5382 MB / 311.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006107/0.1409, allocations: 0.7484 MB / 311.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.1409, allocations: 8.75 kB / 311.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.1412, allocations: 0.5368 MB / 312.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.1417, allocations: 184.7 kB / 312.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.1439, allocations: 2.03 MB / 314.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.1441, allocations: 225 kB / 314.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003067/0.1444, allocations: 123.4 kB / 315 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.1446, allocations: 213.2 kB / 315.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1446, allocations: 0 / 315.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of Templates: time 0.0145/0.1591, allocations: 12.01 MB / 327.2 MB, free: 15.08 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.161457743961364]