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.0009168/0.0009168, allocations: 83.89 kB / 21.19 MB, free: 3.383 MB / 18.57 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.0008989/0.0008989, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 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.886/0.886, allocations: 173.3 MB / 201.1 MB, free: 9.344 MB / 186.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.402e-06/1.402e-06, allocations: 0 / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.84e-05, allocations: 14.19 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.005083/0.005101, allocations: 6.078 MB / 274.1 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003255/0.008356, allocations: 2.134 MB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004795/0.008835, allocations: 35.75 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.009498, allocations: 425.2 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00084/0.01034, allocations: 492.6 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007363/0.01107, allocations: 0.5261 MB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.01223, allocations: 1.538 MB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/0.01264, allocations: 345.1 kB / 279.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006121/0.01325, allocations: 0.8262 MB / 280.4 MB, free: 10 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004521/0.0137, allocations: 0.5219 MB / 280.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.01382, allocations: 128 kB / 281 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.01401, allocations: 171.9 kB / 281.2 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.01418, allocations: 306.8 kB / 281.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005252/0.01471, allocations: 426.8 kB / 281.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007671/0.01548, allocations: 0.9611 MB / 282.9 MB, free: 7.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.01548, allocations: 0 / 282.9 MB, free: 7.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01548, allocations: 0 / 282.9 MB, free: 7.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.01549, allocations: 0 / 282.9 MB, free: 7.5 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.001574/0.01706, allocations: 1.617 MB / 284.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.0171, allocations: 12.03 kB / 284.5 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.0173, allocations: 228 kB / 284.7 MB, free: 5.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006862/0.01799, allocations: 0.7224 MB / 285.4 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.01803, allocations: 70.38 kB / 285.5 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.605e-05/0.01813, allocations: 104.3 kB / 285.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008641/0.01899, allocations: 0.7138 MB / 286.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.01902, allocations: 7.953 kB / 286.3 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.01907, allocations: 40 kB / 286.4 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.01909, allocations: 31.94 kB / 286.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005526/0.01964, allocations: 379.7 kB / 286.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.02248, allocations: 2.639 MB / 289.4 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006647/0.02314, allocations: 427.8 kB / 289.8 MB, free: 348 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.02335, allocations: 173.6 kB / 290 MB, free: 172 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.02339, allocations: 16.64 kB / 290 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1005/0.1239, allocations: 246.1 kB / 290.2 MB, free: 28.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 6.563e-06/0.1239, allocations: 0 / 290.2 MB, free: 28.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003294/0.1272, allocations: 2.287 MB / 292.5 MB, free: 27.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.1272, allocations: 62.7 kB / 292.6 MB, free: 27.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006849/0.1279, allocations: 0.775 MB / 293.4 MB, free: 27.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.1279, allocations: 41.89 kB / 293.4 MB, free: 27.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.1282, allocations: 0.6007 MB / 294 MB, free: 27.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.1283, allocations: 365 kB / 294.4 MB, free: 27.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.1285, allocations: 173.8 kB / 294.5 MB, free: 27.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.32e-05/0.1286, allocations: 0.5125 MB / 295 MB, free: 26.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.1288, allocations: 142.2 kB / 295.2 MB, free: 26.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.1291, allocations: 403.2 kB / 295.6 MB, free: 26.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005873/0.1297, allocations: 0.5948 MB / 296.2 MB, free: 26.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1297, allocations: 2 kB / 296.2 MB, free: 26.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001024/0.1307, allocations: 0.8452 MB / 297 MB, free: 26.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1307, allocations: 7.625 kB / 297 MB, free: 26.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1307, allocations: 6.375 kB / 297 MB, free: 26.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003125/0.131, allocations: 126.3 kB / 297.2 MB, free: 25.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.1315, allocations: 207.9 kB / 297.4 MB, free: 25.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.1333, allocations: 4.554 MB / 301.9 MB, free: 22.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.1335, allocations: 33.05 kB / 301.9 MB, free: 22.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.1336, allocations: 39.52 kB / 302 MB, free: 22.06 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.0001781/0.1338, allocations: 214.2 kB / 302.2 MB, free: 21.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.1339, allocations: 144 kB / 302.3 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008755/0.1347, allocations: 0.7136 MB / 303 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1348, allocations: 12.03 kB / 303.1 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1348, allocations: 4.938 kB / 303.1 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1348, allocations: 10.12 kB / 303.1 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.1369, allocations: 1.908 MB / 305 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1369, allocations: 4.75 kB / 305 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.1373, allocations: 172.7 kB / 305.2 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002218/0.1375, allocations: 105 kB / 305.3 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.1376, allocations: 28.52 kB / 305.3 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.1389, allocations: 4.139 MB / 309.4 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1389, allocations: 12.7 kB / 309.4 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.14, allocations: 1.147 MB / 310.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.1401, allocations: 155 kB / 310.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.147e-05/0.1402, allocations: 25.59 kB / 310.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.1404, allocations: 26.34 kB / 310.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1405, allocations: 88.94 kB / 310.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.1405, allocations: 31.72 kB / 310.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000336/0.1409, allocations: 0.4959 MB / 311.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1409, allocations: 0 / 311.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005471/0.1414, allocations: 244.8 kB / 311.6 MB, free: 15.6 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.0007653/0.1422, allocations: 427.4 kB / 312.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.1432, allocations: 0.9452 MB / 313 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1432, allocations: 0 / 313 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.1438, allocations: 0.6819 MB / 313.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007437/0.1445, allocations: 197.7 kB / 313.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.1474, allocations: 2.266 MB / 316.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.1475, allocations: 226 kB / 316.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002846/0.1478, allocations: 117.9 kB / 316.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.148, allocations: 74.5 kB / 316.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.148, allocations: 0 / 316.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of Templates: time 0.01669/0.1647, allocations: 11.63 MB / 328.2 MB, free: 0.9688 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 -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: 3.169386053457856]