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.001344/0.001344, allocations: 80.61 kB / 20.95 MB, free: 332 kB / 14.72 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.001416/0.001416, allocations: 153.3 kB / 24.25 MB, free: 3.293 MB / 14.72 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 1.477/1.477, allocations: 173.3 MB / 200.8 MB, free: 12.75 MB / 190.1 MB " [Timeout remaining time 178] 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 6.291e-06/6.291e-06, allocations: 3.984 kB / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/3.01e-05, allocations: 3.438 kB / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007656/0.007686, allocations: 5.534 MB / 272.8 MB, free: 4.664 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0041/0.01179, allocations: 2.091 MB / 274.9 MB, free: 2.566 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005635/0.01235, allocations: 35.75 kB / 275 MB, free: 2.531 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008353/0.01319, allocations: 429.3 kB / 275.4 MB, free: 2.109 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.01426, allocations: 0.4887 MB / 275.9 MB, free: 1.617 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.01535, allocations: 0.5105 MB / 276.4 MB, free: 1.105 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.001873/0.01722, allocations: 1.542 MB / 277.9 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006229/0.01785, allocations: 341.1 kB / 278.2 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.01897, allocations: 0.8262 MB / 279.1 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007512/0.01972, allocations: 0.5141 MB / 279.6 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.01991, allocations: 128 kB / 279.7 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.02021, allocations: 167.9 kB / 279.9 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002951/0.02051, allocations: 318.8 kB / 280.2 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004588/0.02096, allocations: 426.8 kB / 280.6 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.02276, allocations: 1.651 MB / 282.3 MB, free: 11.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.02277, allocations: 0 / 282.3 MB, free: 11.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.02277, allocations: 0 / 282.3 MB, free: 11.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.02279, allocations: 0 / 282.3 MB, free: 11.18 MB / 270.1 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.003064/0.02585, allocations: 1.509 MB / 283.8 MB, free: 9.637 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.0259, allocations: 8.031 kB / 283.8 MB, free: 9.629 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003649/0.02626, allocations: 228 kB / 284 MB, free: 9.406 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.02766, allocations: 0.7244 MB / 284.7 MB, free: 8.652 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-05/0.02773, allocations: 70.38 kB / 284.8 MB, free: 8.586 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.02794, allocations: 120.2 kB / 284.9 MB, free: 8.469 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.02969, allocations: 0.9119 MB / 285.8 MB, free: 7.539 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.826e-05/0.02974, allocations: 11.94 kB / 285.8 MB, free: 7.527 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.179e-05/0.02983, allocations: 40 kB / 285.9 MB, free: 7.488 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.02985, allocations: 24 kB / 285.9 MB, free: 7.465 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.03123, allocations: 0.6363 MB / 286.5 MB, free: 6.832 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004853/0.03608, allocations: 2.65 MB / 289.2 MB, free: 4.102 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.03753, allocations: 0.5697 MB / 289.7 MB, free: 3.52 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000551/0.03808, allocations: 274.7 kB / 290 MB, free: 3.25 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.03813, allocations: 12.66 kB / 290 MB, free: 3.238 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007017/0.03884, allocations: 348.3 kB / 290.4 MB, free: 2.887 MB / 270.1 MB Notification: Performance of pre-optimization done (n=80): time 2.685e-06/0.03884, allocations: 0 / 290.4 MB, free: 2.887 MB / 270.1 MB Notification: Performance of matching and sorting (n=100): time 0.006407/0.04525, allocations: 2.96 MB / 293.3 MB, free: 15.88 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.0453, allocations: 64.41 kB / 293.4 MB, free: 15.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.04645, allocations: 0.8642 MB / 294.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/0.04651, allocations: 41.7 kB / 294.3 MB, free: 14.88 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/0.04701, allocations: 0.5321 MB / 294.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003218/0.04733, allocations: 360.9 kB / 295.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.04759, allocations: 158.6 kB / 295.3 MB, free: 13.83 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.04777, allocations: 341.9 kB / 295.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005835/0.04835, allocations: 277.9 kB / 295.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007423/0.04909, allocations: 433.3 kB / 296.4 MB, free: 12.74 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.05046, allocations: 0.7483 MB / 297.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.05046, allocations: 0 / 297.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002104/0.05257, allocations: 1.076 MB / 298.2 MB, free: 10.85 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.05259, allocations: 8 kB / 298.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.0526, allocations: 4.406 kB / 298.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004783/0.05308, allocations: 149.6 kB / 298.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000851/0.05393, allocations: 203.7 kB / 298.5 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004365/0.0583, allocations: 3.723 MB / 302.3 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/0.0588, allocations: 28 kB / 302.3 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/0.05887, allocations: 35.98 kB / 302.3 MB, free: 6.508 MB / 286.1 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.0005021/0.05937, allocations: 306.8 kB / 302.6 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.05958, allocations: 135.3 kB / 302.8 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.06164, allocations: 0.9627 MB / 303.7 MB, free: 5.086 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.06165, allocations: 12 kB / 303.7 MB, free: 5.074 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.06166, allocations: 0 / 303.7 MB, free: 5.074 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.06167, allocations: 11.92 kB / 303.7 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004036/0.06571, allocations: 2.151 MB / 305.9 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.06571, allocations: 0 / 305.9 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008607/0.06657, allocations: 188.1 kB / 306.1 MB, free: 2.645 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003973/0.06697, allocations: 121.6 kB / 306.2 MB, free: 2.52 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.228e-05/0.06703, allocations: 24 kB / 306.2 MB, free: 2.496 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1092/0.1763, allocations: 3.335 MB / 309.6 MB, free: 47.35 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.1763, allocations: 3.438 kB / 309.6 MB, free: 47.35 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002519/0.1788, allocations: 1.475 MB / 311 MB, free: 47.09 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.1792, allocations: 160.3 kB / 311.2 MB, free: 47.09 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.1793, allocations: 25.44 kB / 311.2 MB, free: 47.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.1797, allocations: 27.72 kB / 311.2 MB, free: 47.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.1799, allocations: 81.2 kB / 311.3 MB, free: 47.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.1799, allocations: 36.95 kB / 311.4 MB, free: 47.09 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007254/0.1807, allocations: 0.6107 MB / 312 MB, free: 46.89 MB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1807, allocations: 2 kB / 312 MB, free: 46.89 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009406/0.1816, allocations: 244.4 kB / 312.2 MB, free: 46.86 MB / 286.1 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.001709/0.1833, allocations: 476.8 kB / 312.7 MB, free: 46.73 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.185, allocations: 1.016 MB / 313.7 MB, free: 46.24 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.185, allocations: 3.844 kB / 313.7 MB, free: 46.24 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009477/0.186, allocations: 0.6718 MB / 314.4 MB, free: 45.86 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/0.1869, allocations: 196.5 kB / 314.6 MB, free: 45.78 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/0.19, allocations: 2.429 MB / 317 MB, free: 44.43 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.1906, allocations: 0.5128 MB / 317.5 MB, free: 44.29 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003604/0.191, allocations: 109.2 kB / 317.6 MB, free: 44.26 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.1912, allocations: 73.97 kB / 317.7 MB, free: 44.25 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1912, allocations: 0 / 317.7 MB, free: 44.25 MB / 286.1 MB Notification: Performance of Templates: time 0.01847/0.2096, allocations: 10.97 MB / 328.7 MB, free: 38.47 MB / 286.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.804153334349394]