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.001415/0.001415, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.001832/0.001832, allocations: 170.6 kB / 24.82 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.962/0.962, allocations: 177.1 MB / 205.3 MB, free: 5.531 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.172e-06/1.172e-06, allocations: 0 / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027e-05/1.144e-05, allocations: 2.312 kB / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.004689/0.004701, allocations: 5.945 MB / 279.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.007631, allocations: 2.243 MB / 281.6 MB, free: 9.102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003914/0.008022, allocations: 39.69 kB / 281.6 MB, free: 9.062 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005898/0.008612, allocations: 437.2 kB / 282 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007549/0.009367, allocations: 0.5237 MB / 282.6 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.009984, allocations: 0.4911 MB / 283.1 MB, free: 7.613 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009492/0.01093, allocations: 1.546 MB / 284.6 MB, free: 6.062 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.01131, allocations: 349.2 kB / 284.9 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006435/0.01196, allocations: 0.8301 MB / 285.8 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/0.01238, allocations: 0.5258 MB / 286.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.0125, allocations: 128 kB / 286.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.0127, allocations: 179.8 kB / 286.6 MB, free: 4.035 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.01288, allocations: 322.7 kB / 286.9 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.01314, allocations: 418.8 kB / 287.3 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007463/0.01389, allocations: 0.9727 MB / 288.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01389, allocations: 4 kB / 288.3 MB, free: 2.328 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.01389, allocations: 0 / 288.3 MB, free: 2.328 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.0139, allocations: 0 / 288.3 MB, free: 2.328 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.001479/0.01538, allocations: 1.648 MB / 289.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.01542, allocations: 12.03 kB / 290 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.01573, allocations: 239.9 kB / 290.2 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.116/0.1317, allocations: 0.6997 MB / 290.9 MB, free: 25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.1318, allocations: 78.88 kB / 291 MB, free: 25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.1319, allocations: 109.8 kB / 291.1 MB, free: 25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009135/0.1328, allocations: 0.6503 MB / 291.7 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.1328, allocations: 9.172 kB / 291.7 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/0.1329, allocations: 40.62 kB / 291.8 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.1329, allocations: 24.16 kB / 291.8 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.1333, allocations: 304.2 kB / 292.1 MB, free: 24.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002701/0.136, allocations: 2.509 MB / 294.6 MB, free: 24.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.1366, allocations: 395.2 kB / 295 MB, free: 24.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.1368, allocations: 147.6 kB / 295.1 MB, free: 24.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.1368, allocations: 16.41 kB / 295.1 MB, free: 24.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.1371, allocations: 226.8 kB / 295.4 MB, free: 23.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 7.073e-06/0.1371, allocations: 2.219 kB / 295.4 MB, free: 23.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002466/0.1396, allocations: 1.968 MB / 297.3 MB, free: 23.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.1396, allocations: 65.56 kB / 297.4 MB, free: 23.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.1402, allocations: 0.7536 MB / 298.2 MB, free: 23.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.1402, allocations: 45.97 kB / 298.2 MB, free: 22.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.1405, allocations: 0.6099 MB / 298.8 MB, free: 22.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.1406, allocations: 363 kB / 299.2 MB, free: 22.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.1408, allocations: 180.6 kB / 299.3 MB, free: 22.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.576e-05/0.1409, allocations: 0.5168 MB / 299.9 MB, free: 21.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.141, allocations: 105.8 kB / 300 MB, free: 21.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.1413, allocations: 369 kB / 300.3 MB, free: 21.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.1417, allocations: 0.5457 MB / 300.9 MB, free: 21.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1417, allocations: 2.188 kB / 300.9 MB, free: 21.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0008196/0.1426, allocations: 0.7613 MB / 301.6 MB, free: 20.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1426, allocations: 6.875 kB / 301.6 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.1426, allocations: 8.344 kB / 301.6 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/0.1428, allocations: 127.2 kB / 301.8 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.1432, allocations: 204.2 kB / 302 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.1449, allocations: 4.484 MB / 306.5 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.1451, allocations: 28.38 kB / 306.5 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.1452, allocations: 33.61 kB / 306.5 MB, free: 16.7 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.000182/0.1453, allocations: 222.7 kB / 306.7 MB, free: 16.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.1454, allocations: 138.4 kB / 306.9 MB, free: 16.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007397/0.1462, allocations: 0.6533 MB / 307.5 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1462, allocations: 10.09 kB / 307.5 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1462, allocations: 2.812 kB / 307.5 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1462, allocations: 4.016 kB / 307.5 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.1479, allocations: 1.732 MB / 309.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.1479, allocations: 3.75 kB / 309.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.1483, allocations: 170.8 kB / 309.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001769/0.1484, allocations: 107.1 kB / 309.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.1485, allocations: 21.56 kB / 309.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.1496, allocations: 4.07 MB / 313.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1496, allocations: 7.703 kB / 313.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008018/0.1504, allocations: 1.058 MB / 314.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.1506, allocations: 158.7 kB / 314.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.447e-05/0.1507, allocations: 27.98 kB / 314.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.1508, allocations: 24 kB / 314.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.1509, allocations: 84.73 kB / 315 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.151, allocations: 27.98 kB / 315 MB, free: 10.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002262/0.1512, allocations: 479.1 kB / 315.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1512, allocations: 0 / 315.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005416/0.1517, allocations: 247.9 kB / 315.7 MB, free: 9.816 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.0007663/0.1525, allocations: 431.9 kB / 316.1 MB, free: 9.582 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.1532, allocations: 0.8837 MB / 317 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1532, allocations: 0 / 317 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.1535, allocations: 0.6578 MB / 317.7 MB, free: 7.996 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.154, allocations: 190.2 kB / 317.9 MB, free: 7.816 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.1561, allocations: 2.256 MB / 320.1 MB, free: 5.504 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.1563, allocations: 229 kB / 320.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002108/0.1565, allocations: 107.4 kB / 320.5 MB, free: 5.152 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.1567, allocations: 246.1 kB / 320.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1567, allocations: 0 / 320.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of Templates: time 0.01583/0.1726, allocations: 12.03 MB / 332.7 MB, free: 9.109 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.138935051858425]