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.001863/0.001863, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002085/0.002085, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.552/1.552, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002084/0.002084, allocations: 47.92 kB / 373.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.108, allocations: 53.33 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.1983/0.3063, allocations: 6.268 MB / 433.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003301/0.3096, allocations: 2.294 MB / 435.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004527/0.31, allocations: 41.53 kB / 435.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007165/0.3107, allocations: 425.5 kB / 435.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008951/0.3116, allocations: 0.5035 MB / 436.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008612/0.3125, allocations: 493.6 kB / 436.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.3139, allocations: 1.501 MB / 438.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005432/0.3144, allocations: 370.9 kB / 438.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007054/0.3151, allocations: 0.584 MB / 439.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006944/0.3158, allocations: 0.6622 MB / 439.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.316, allocations: 129.6 kB / 440 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.3163, allocations: 183.6 kB / 440.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.3165, allocations: 307.2 kB / 440.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004557/0.317, allocations: 0.643 MB / 441.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.3187, allocations: 1.664 MB / 442.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3187, allocations: 1.125 kB / 442.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3187, allocations: 0.5938 kB / 442.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.3187, allocations: 0 / 442.8 MB, free: 4.242 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.002731/0.3214, allocations: 1.604 MB / 444.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3215, allocations: 9.812 kB / 444.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004151/0.3219, allocations: 165.4 kB / 444.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.323, allocations: 0.7783 MB / 445.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.894e-05/0.323, allocations: 78.12 kB / 445.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.3232, allocations: 107.5 kB / 445.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.3247, allocations: 0.9094 MB / 446.5 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/0.3248, allocations: 8.594 kB / 446.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.3249, allocations: 40.86 kB / 446.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.3249, allocations: 23.84 kB / 446.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.3262, allocations: 0.6396 MB / 447.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005032/0.3313, allocations: 3.203 MB / 450.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.333, allocations: 0.5793 MB / 451 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006196/0.3336, allocations: 268.1 kB / 451.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.569e-05/0.3337, allocations: 14.36 kB / 451.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007725/0.3344, allocations: 348.9 kB / 451.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.695e-06/0.3344, allocations: 0 / 451.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.007226/0.3417, allocations: 3.084 MB / 454.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.3417, allocations: 61.72 kB / 454.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.3434, allocations: 0.94 MB / 455.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.3435, allocations: 42.23 kB / 455.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006154/0.3441, allocations: 0.5218 MB / 456.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004448/0.3445, allocations: 363.1 kB / 456.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.3448, allocations: 167.4 kB / 456.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.345, allocations: 349.9 kB / 457.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005862/0.3456, allocations: 267.9 kB / 457.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/0.3463, allocations: 434.2 kB / 457.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.3478, allocations: 0.7478 MB / 458.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3478, allocations: 1.156 kB / 458.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002239/0.35, allocations: 1.029 MB / 459.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.35, allocations: 7.062 kB / 459.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.35, allocations: 8.281 kB / 459.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005096/0.3506, allocations: 139.6 kB / 459.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008259/0.3514, allocations: 207.4 kB / 459.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004341/0.3557, allocations: 3.991 MB / 463.9 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000672/0.3564, allocations: 26.88 kB / 463.9 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.028e-05/0.3565, allocations: 38.14 kB / 464 MB, free: 6.797 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.0005813/0.357, allocations: 308.7 kB / 464.3 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.3572, allocations: 113.9 kB / 464.4 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.3593, allocations: 0.9476 MB / 465.3 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.3593, allocations: 9.156 kB / 465.3 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3593, allocations: 13.28 kB / 465.3 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.3593, allocations: 3.984 kB / 465.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00442/0.3637, allocations: 2.475 MB / 467.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.3637, allocations: 7.234 kB / 467.8 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008525/0.3646, allocations: 183.2 kB / 468 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004193/0.365, allocations: 124.5 kB / 468.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/0.3651, allocations: 20.91 kB / 468.2 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003786/0.3688, allocations: 3.601 MB / 471.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3688, allocations: 3.406 kB / 471.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/0.3714, allocations: 1.444 MB / 473.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/0.3718, allocations: 242.2 kB / 473.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.3719, allocations: 32.19 kB / 473.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.3724, allocations: 27.67 kB / 473.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.3725, allocations: 72.81 kB / 473.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.415e-05/0.3726, allocations: 31.14 kB / 473.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009288/0.3735, allocations: 0.6731 MB / 474.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3735, allocations: 0 / 474.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001019/0.3746, allocations: 246.8 kB / 474.5 MB, free: 15.04 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.001719/0.3763, allocations: 448.5 kB / 474.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002021/0.3783, allocations: 1.001 MB / 475.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3783, allocations: 0 / 475.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.3795, allocations: 0.6758 MB / 476.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.3806, allocations: 182.4 kB / 476.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004386/0.3849, allocations: 2.615 MB / 479.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008502/0.3858, allocations: 1.108 MB / 480.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004038/0.3862, allocations: 119.6 kB / 480.6 MB, free: 9.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.3864, allocations: 83.41 kB / 480.7 MB, free: 9.621 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3864, allocations: 3.938 kB / 480.7 MB, free: 9.617 MB / 382.1 MB Notification: Performance of Templates: time 0.02397/0.4104, allocations: 11.39 MB / 492.1 MB, free: 14.29 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.262953497469425]