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.00138/0.00138, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.001524/0.001524, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 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 1.591/1.591, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002794/0.002794, allocations: 63.89 kB / 379 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2744, allocations: 53.41 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008352/0.2828, allocations: 5.522 MB / 437.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005156/0.288, allocations: 2.235 MB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.2891, allocations: 43.69 kB / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.2901, allocations: 417.3 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.2915, allocations: 0.5046 MB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.2927, allocations: 0.4952 MB / 441.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.2946, allocations: 1.492 MB / 443.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006522/0.2952, allocations: 348.1 kB / 443.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008814/0.2961, allocations: 0.5837 MB / 444 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007987/0.2969, allocations: 0.5987 MB / 444.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.2971, allocations: 128 kB / 444.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.2974, allocations: 180 kB / 444.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003068/0.2977, allocations: 310.8 kB / 445.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005349/0.2983, allocations: 0.5129 MB / 445.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001885/0.3001, allocations: 1.673 MB / 447.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3001, allocations: 0 / 447.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3001, allocations: 0 / 447.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.3002, allocations: 0 / 447.4 MB, free: 7.449 MB / 350.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.002841/0.303, allocations: 1.536 MB / 448.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.3031, allocations: 11.98 kB / 448.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004181/0.3035, allocations: 163.9 kB / 449.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.3049, allocations: 0.7016 MB / 449.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.47e-05/0.3049, allocations: 74.38 kB / 449.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.3051, allocations: 112.3 kB / 450 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.3067, allocations: 0.9117 MB / 450.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/0.3068, allocations: 7.953 kB / 450.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.97e-05/0.3069, allocations: 40 kB / 451 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.3069, allocations: 24 kB / 451 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.3083, allocations: 0.6402 MB / 451.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00479/0.313, allocations: 2.61 MB / 454.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.3144, allocations: 0.5774 MB / 454.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.3149, allocations: 271.3 kB / 455.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.583e-05/0.315, allocations: 8.656 kB / 455.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006598/0.3156, allocations: 348.3 kB / 455.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.836e-06/0.3156, allocations: 0 / 455.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006145/0.3218, allocations: 2.929 MB / 458.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.3218, allocations: 68.41 kB / 458.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.323, allocations: 0.8682 MB / 459.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/0.3231, allocations: 45.7 kB / 459.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/0.3236, allocations: 0.5398 MB / 459.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/0.3239, allocations: 360.9 kB / 460.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.3241, allocations: 158.7 kB / 460.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3243, allocations: 341.9 kB / 460.7 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/0.3248, allocations: 273.9 kB / 461 MB, free: 9.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/0.3255, allocations: 441.3 kB / 461.4 MB, free: 9.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.3267, allocations: 0.7482 MB / 462.2 MB, free: 8.324 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.3267, allocations: 7.938 kB / 462.2 MB, free: 8.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001973/0.3287, allocations: 1.025 MB / 463.2 MB, free: 7.277 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.3287, allocations: 8 kB / 463.2 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.3288, allocations: 4 kB / 463.2 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005053/0.3293, allocations: 145.6 kB / 463.3 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/0.3301, allocations: 212.1 kB / 463.5 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004091/0.3341, allocations: 3.692 MB / 467.2 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/0.3347, allocations: 31.98 kB / 467.3 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.3348, allocations: 36 kB / 467.3 MB, free: 2.957 MB / 366.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.0005584/0.3354, allocations: 313.4 kB / 467.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.3355, allocations: 103.3 kB / 467.7 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/0.3374, allocations: 0.9628 MB / 468.7 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.3374, allocations: 15.94 kB / 468.7 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3374, allocations: 7.938 kB / 468.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.3374, allocations: 3.984 kB / 468.7 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003939/0.3414, allocations: 2.151 MB / 470.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.3414, allocations: 4 kB / 470.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/0.3422, allocations: 183.7 kB / 471 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003768/0.3425, allocations: 122 kB / 471.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.243e-05/0.3426, allocations: 27.98 kB / 471.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003375/0.346, allocations: 3.324 MB / 474.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.346, allocations: 8.016 kB / 474.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.3486, allocations: 1.44 MB / 476 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004292/0.349, allocations: 167.3 kB / 476.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.3491, allocations: 20 kB / 476.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.3495, allocations: 28.17 kB / 476.2 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.3497, allocations: 84.83 kB / 476.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.372e-05/0.3498, allocations: 31.94 kB / 476.3 MB, free: 9.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008128/0.3506, allocations: 0.624 MB / 476.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3506, allocations: 0 / 476.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009599/0.3515, allocations: 236 kB / 477.1 MB, free: 8.742 MB / 382.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.001773/0.3533, allocations: 489.2 kB / 477.6 MB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.3554, allocations: 1.006 MB / 478.6 MB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.3554, allocations: 4 kB / 478.6 MB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.3565, allocations: 0.6792 MB / 479.3 MB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.3576, allocations: 169.6 kB / 479.5 MB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.3621, allocations: 2.674 MB / 482.1 MB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.3627, allocations: 0.515 MB / 482.7 MB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.363, allocations: 79.41 kB / 482.7 MB, free: 3.137 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.363, allocations: 0 / 482.7 MB, free: 3.137 MB / 382.1 MB Notification: Performance of Templates: time 0.03229/0.3953, allocations: 23.5 MB / 0.4944 GB, free: 11.61 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.173921977635473]