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.001698/0.001698, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.002021/0.002021, allocations: 213.5 kB / 22.99 MB, free: 5.609 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.42/1.42, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.001995/0.001995, allocations: 63.91 kB / 376.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2631, allocations: 53.32 MB / 429.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008106/0.2712, allocations: 6.291 MB / 436.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004096/0.2753, allocations: 2.317 MB / 438.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004582/0.2757, allocations: 35.81 kB / 438.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000798/0.2765, allocations: 417.3 kB / 438.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.2775, allocations: 0.5007 MB / 439.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.2785, allocations: 0.4951 MB / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.2801, allocations: 1.496 MB / 441.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000599/0.2807, allocations: 376.7 kB / 441.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006808/0.2814, allocations: 0.5681 MB / 442.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008779/0.2822, allocations: 0.6612 MB / 442.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.2824, allocations: 132 kB / 443.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000297/0.2827, allocations: 183.9 kB / 443.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003934/0.2831, allocations: 310.8 kB / 443.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005958/0.2837, allocations: 0.6372 MB / 444.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.2856, allocations: 1.666 MB / 445.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2856, allocations: 0 / 445.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2856, allocations: 0 / 445.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.2856, allocations: 3.938 kB / 445.8 MB, free: 7.426 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.002749/0.2883, allocations: 1.6 MB / 447.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2884, allocations: 12.03 kB / 447.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/0.2888, allocations: 156 kB / 447.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.2899, allocations: 0.7789 MB / 448.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.8e-05/0.29, allocations: 74.38 kB / 448.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.2902, allocations: 100.3 kB / 448.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.2918, allocations: 0.9234 MB / 449.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/0.2919, allocations: 7.953 kB / 449.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.641e-05/0.292, allocations: 40 kB / 449.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.292, allocations: 24 kB / 449.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.2933, allocations: 0.6325 MB / 450.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004886/0.2982, allocations: 3.222 MB / 453.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.2995, allocations: 0.5842 MB / 454 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/0.3001, allocations: 274.6 kB / 454.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-05/0.3001, allocations: 8.656 kB / 454.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006844/0.3008, allocations: 344.3 kB / 454.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.435e-06/0.3008, allocations: 3.938 kB / 454.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006308/0.3071, allocations: 3.083 MB / 457.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.3072, allocations: 68.41 kB / 457.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.3084, allocations: 0.9391 MB / 458.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.3085, allocations: 41.7 kB / 458.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000477/0.309, allocations: 0.5205 MB / 459.3 MB, free: 9.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/0.3093, allocations: 364.9 kB / 459.6 MB, free: 9.281 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.3095, allocations: 158.6 kB / 459.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3097, allocations: 345.9 kB / 460.1 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/0.3103, allocations: 277.9 kB / 460.4 MB, free: 8.504 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/0.311, allocations: 425.5 kB / 460.8 MB, free: 8.039 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.3123, allocations: 0.7444 MB / 461.5 MB, free: 7.242 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.3123, allocations: 4 kB / 461.5 MB, free: 7.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001993/0.3143, allocations: 1.029 MB / 462.6 MB, free: 6.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.3143, allocations: 10.5 kB / 462.6 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3143, allocations: 4 kB / 462.6 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/0.3148, allocations: 146 kB / 462.7 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/0.3156, allocations: 211.7 kB / 462.9 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00434/0.3199, allocations: 3.984 MB / 466.9 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006114/0.3206, allocations: 31.98 kB / 467 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/0.3206, allocations: 32 kB / 467 MB, free: 1.508 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.0005783/0.3212, allocations: 301.6 kB / 467.3 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.3214, allocations: 115.2 kB / 467.4 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.3233, allocations: 0.9557 MB / 468.3 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3233, allocations: 8 kB / 468.4 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3233, allocations: 4 kB / 468.4 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.3233, allocations: 7.922 kB / 468.4 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004185/0.3275, allocations: 2.483 MB / 470.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.3275, allocations: 4 kB / 470.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007868/0.3283, allocations: 187.7 kB / 471 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003709/0.3287, allocations: 121.5 kB / 471.2 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.343e-05/0.3287, allocations: 23.98 kB / 471.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003723/0.3325, allocations: 3.609 MB / 474.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.3325, allocations: 4 kB / 474.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/0.3351, allocations: 1.431 MB / 476.2 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003799/0.3354, allocations: 240.3 kB / 476.5 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.3355, allocations: 31.98 kB / 476.5 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.336, allocations: 23.94 kB / 476.5 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.3361, allocations: 80.92 kB / 476.6 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/0.3362, allocations: 28 kB / 476.6 MB, free: 7.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009019/0.3371, allocations: 0.6708 MB / 477.3 MB, free: 6.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3371, allocations: 0 / 477.3 MB, free: 6.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000901/0.338, allocations: 240 kB / 477.5 MB, free: 6.461 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 (88): * Single equations (assignments): 84 * 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.001582/0.3396, allocations: 441.5 kB / 478 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001897/0.3414, allocations: 1.006 MB / 479 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3415, allocations: 0 / 479 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.3426, allocations: 0.6833 MB / 479.6 MB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009526/0.3435, allocations: 180.4 kB / 479.8 MB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/0.3475, allocations: 2.614 MB / 482.4 MB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008134/0.3484, allocations: 1.108 MB / 483.5 MB, free: 444 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003925/0.3488, allocations: 123.6 kB / 483.7 MB, free: 316 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.349, allocations: 75.42 kB / 483.7 MB, free: 240 kB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.349, allocations: 3.938 kB / 483.7 MB, free: 236 kB / 382.1 MB Notification: Performance of Templates: time 0.02214/0.3711, allocations: 11.61 MB / 495.4 MB, free: 4.68 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins/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: 4.994863896630704]