Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009853/0.0009853, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001494/0.001494, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9764/0.9764, allocations: 177 MB / 205.2 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.654e-05, allocations: 2.312 kB / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.006871/0.006898, allocations: 6.074 MB / 279.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.00985, allocations: 2.262 MB / 281.3 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003905/0.01024, allocations: 43.69 kB / 281.4 MB, free: 9.297 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006382/0.01088, allocations: 421.2 kB / 281.8 MB, free: 8.883 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007351/0.01161, allocations: 0.5199 MB / 282.3 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.01221, allocations: 0.4911 MB / 282.8 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009656/0.01318, allocations: 1.55 MB / 284.3 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004127/0.01359, allocations: 353.1 kB / 284.7 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006461/0.01423, allocations: 0.8301 MB / 285.5 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004402/0.01467, allocations: 0.518 MB / 286 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.01479, allocations: 140 kB / 286.2 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.015, allocations: 183.8 kB / 286.3 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.01519, allocations: 322.8 kB / 286.7 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.01547, allocations: 422.8 kB / 287.1 MB, free: 3.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007671/0.01624, allocations: 0.9883 MB / 288.1 MB, free: 2.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.01625, allocations: 4 kB / 288.1 MB, free: 2.551 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01625, allocations: 0 / 288.1 MB, free: 2.551 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.01626, allocations: 0 / 288.1 MB, free: 2.551 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.001579/0.01784, allocations: 1.628 MB / 289.7 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.01787, allocations: 11.98 kB / 289.7 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003542/0.01823, allocations: 243.9 kB / 289.9 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09957/0.1178, allocations: 0.709 MB / 290.6 MB, free: 28.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/0.1179, allocations: 72.28 kB / 290.7 MB, free: 28.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.118, allocations: 109.2 kB / 290.8 MB, free: 28.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.1191, allocations: 0.7112 MB / 291.5 MB, free: 28.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/0.1192, allocations: 14.97 kB / 291.6 MB, free: 28.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.1192, allocations: 38.75 kB / 291.6 MB, free: 28.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.1193, allocations: 23.88 kB / 291.6 MB, free: 28.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006807/0.12, allocations: 372.8 kB / 292 MB, free: 28.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/0.1231, allocations: 2.657 MB / 294.6 MB, free: 26.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008277/0.124, allocations: 440.6 kB / 295.1 MB, free: 26.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.1242, allocations: 173.3 kB / 295.2 MB, free: 26.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.1242, allocations: 16.69 kB / 295.3 MB, free: 26.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003428/0.1246, allocations: 252 kB / 295.5 MB, free: 26.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 2.325e-06/0.1246, allocations: 1.75 kB / 295.5 MB, free: 26.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003239/0.1278, allocations: 2.311 MB / 297.8 MB, free: 25.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.1279, allocations: 62.75 kB / 297.9 MB, free: 25.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/0.1286, allocations: 0.7643 MB / 298.6 MB, free: 25.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.1286, allocations: 42.73 kB / 298.7 MB, free: 25.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.1289, allocations: 0.5959 MB / 299.3 MB, free: 24.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.129, allocations: 357.6 kB / 299.6 MB, free: 24.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.1292, allocations: 163.7 kB / 299.8 MB, free: 24.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.642e-05/0.1292, allocations: 0.5135 MB / 300.3 MB, free: 23.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.1295, allocations: 135.3 kB / 300.4 MB, free: 23.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.1298, allocations: 341.8 kB / 300.8 MB, free: 23.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/0.1303, allocations: 0.5342 MB / 301.3 MB, free: 23.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1303, allocations: 1.344 kB / 301.3 MB, free: 23.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.000967/0.1313, allocations: 0.7978 MB / 302.1 MB, free: 22.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1313, allocations: 5.5 kB / 302.1 MB, free: 22.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1313, allocations: 4.734 kB / 302.1 MB, free: 22.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000304/0.1316, allocations: 128.6 kB / 302.2 MB, free: 22.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.1321, allocations: 204.3 kB / 302.4 MB, free: 22.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.1339, allocations: 4.556 MB / 307 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.1341, allocations: 27.78 kB / 307 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.1342, allocations: 37.95 kB / 307.1 MB, free: 18.63 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (108): * Single equations (assignments): 106 * 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.0001917/0.1343, allocations: 209.5 kB / 307.3 MB, free: 18.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.1345, allocations: 143.8 kB / 307.4 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000894/0.1354, allocations: 0.7227 MB / 308.1 MB, free: 18.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1354, allocations: 11.97 kB / 308.1 MB, free: 18.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1354, allocations: 4 kB / 308.1 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1354, allocations: 7.188 kB / 308.1 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.1373, allocations: 1.917 MB / 310.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1373, allocations: 7.938 kB / 310.1 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.1377, allocations: 183.8 kB / 310.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/0.1379, allocations: 117 kB / 310.4 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.1379, allocations: 23.98 kB / 310.4 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.1393, allocations: 4.127 MB / 314.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1393, allocations: 7.938 kB / 314.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009904/0.1403, allocations: 1.142 MB / 315.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.1404, allocations: 159.2 kB / 315.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-05/0.1405, allocations: 27.98 kB / 315.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.1407, allocations: 24 kB / 315.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.1408, allocations: 84.73 kB / 315.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.1408, allocations: 31.98 kB / 316 MB, free: 10.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003181/0.1411, allocations: 0.4989 MB / 316.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1411, allocations: 0 / 316.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005726/0.1417, allocations: 247.9 kB / 316.7 MB, free: 9.785 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.0008545/0.1426, allocations: 418.4 kB / 317.1 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008352/0.1434, allocations: 0.9162 MB / 318 MB, free: 8.598 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1434, allocations: 0 / 318 MB, free: 8.598 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004261/0.1438, allocations: 0.6883 MB / 318.7 MB, free: 7.871 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/0.1444, allocations: 190.6 kB / 318.9 MB, free: 7.691 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.1467, allocations: 2.268 MB / 321.2 MB, free: 5.344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.1468, allocations: 224.9 kB / 321.4 MB, free: 5.105 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002186/0.147, allocations: 115.2 kB / 321.5 MB, free: 4.988 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.1471, allocations: 76.42 kB / 321.6 MB, free: 4.914 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1471, allocations: 0 / 321.6 MB, free: 4.914 MB / 266.7 MB Notification: Performance of Templates: time 0.01391/0.1611, allocations: 11.1 MB / 332.7 MB, free: 9.965 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.2430043891072273]