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.001842/0.001842, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 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.001852/0.001852, allocations: 187.8 kB / 23.72 MB, free: 4.68 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.42/1.42, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.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 0.00153/0.00153, allocations: 43.92 kB / 370.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2542, allocations: 52.18 MB / 423.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008172/0.2623, allocations: 6.279 MB / 429.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004341/0.2667, allocations: 2.17 MB / 431.6 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009776/0.2677, allocations: 39.75 kB / 431.6 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.2688, allocations: 421.3 kB / 432 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.2701, allocations: 476.9 kB / 432.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.2712, allocations: 0.5263 MB / 433 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.273, allocations: 1.5 MB / 434.5 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006354/0.2737, allocations: 369.1 kB / 434.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007231/0.2744, allocations: 0.5721 MB / 435.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000744/0.2751, allocations: 0.6573 MB / 436.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002823/0.2754, allocations: 132 kB / 436.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.2757, allocations: 175.9 kB / 436.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.276, allocations: 310.9 kB / 436.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006065/0.2766, allocations: 0.6372 MB / 437.3 MB, free: 408 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.2785, allocations: 1.647 MB / 439 MB, free: 14.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2785, allocations: 4 kB / 439 MB, free: 14.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2785, allocations: 0 / 439 MB, free: 14.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.2785, allocations: 3.938 kB / 439 MB, free: 14.75 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.003008/0.2815, allocations: 1.517 MB / 440.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2816, allocations: 15.97 kB / 440.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.2818, allocations: 148 kB / 440.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.2831, allocations: 0.6939 MB / 441.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.2832, allocations: 78.12 kB / 441.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.2833, allocations: 104 kB / 441.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.2852, allocations: 0.9118 MB / 442.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/0.2852, allocations: 7.953 kB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.891e-05/0.2853, allocations: 43.98 kB / 442.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.2853, allocations: 24 kB / 442.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.2867, allocations: 0.6363 MB / 443.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005303/0.292, allocations: 3.119 MB / 446.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.2934, allocations: 0.5759 MB / 446.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005434/0.2939, allocations: 270.7 kB / 447.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.984e-05/0.294, allocations: 12.64 kB / 447.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007182/0.2947, allocations: 340.4 kB / 447.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.715e-06/0.2947, allocations: 0 / 447.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.006433/0.3011, allocations: 2.94 MB / 450.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.3012, allocations: 68.41 kB / 450.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.3024, allocations: 0.9274 MB / 451.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.231e-05/0.3025, allocations: 45.7 kB / 451.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/0.3029, allocations: 0.5204 MB / 452 MB, free: 1.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.3032, allocations: 360.9 kB / 452.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.3035, allocations: 166.5 kB / 452.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3037, allocations: 345.9 kB / 452.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005664/0.3042, allocations: 265.9 kB / 453.1 MB, free: 364 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007114/0.3049, allocations: 425.4 kB / 453.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.3063, allocations: 0.7522 MB / 454.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3063, allocations: 0 / 454.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002099/0.3084, allocations: 1.029 MB / 455.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3084, allocations: 8 kB / 455.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3084, allocations: 4 kB / 455.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004905/0.3089, allocations: 150 kB / 455.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008083/0.3097, allocations: 203.7 kB / 455.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004172/0.3139, allocations: 3.777 MB / 459.4 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/0.3144, allocations: 28 kB / 459.4 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.3145, allocations: 40.05 kB / 459.5 MB, free: 9.613 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.0005262/0.315, allocations: 309.4 kB / 459.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.3152, allocations: 107.3 kB / 459.9 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.3172, allocations: 0.9556 MB / 460.8 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.3172, allocations: 8 kB / 460.8 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3172, allocations: 4 kB / 460.8 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.3172, allocations: 3.984 kB / 460.9 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004342/0.3216, allocations: 2.435 MB / 463.3 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3216, allocations: 384 / 463.3 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008068/0.3224, allocations: 191.7 kB / 463.5 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003845/0.3228, allocations: 113.6 kB / 463.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/0.3228, allocations: 31.98 kB / 463.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00362/0.3264, allocations: 3.397 MB / 467 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/0.3265, allocations: 8.219 kB / 467 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.3291, allocations: 1.435 MB / 468.5 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.3294, allocations: 167.3 kB / 468.6 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.3296, allocations: 27.88 kB / 468.6 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.33, allocations: 27.98 kB / 468.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.3302, allocations: 76.86 kB / 468.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.3302, allocations: 36 kB / 468.8 MB, free: 15.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009066/0.3311, allocations: 0.6629 MB / 469.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3311, allocations: 4 kB / 469.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009485/0.3321, allocations: 236 kB / 469.7 MB, free: 14.97 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.00159/0.3337, allocations: 445.5 kB / 470.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.3357, allocations: 1.01 MB / 471.1 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3357, allocations: 0 / 471.1 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.3369, allocations: 0.6714 MB / 471.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.3379, allocations: 195.5 kB / 472 MB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/0.3421, allocations: 2.616 MB / 474.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/0.3428, allocations: 1.1 MB / 475.7 MB, free: 8.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004448/0.3433, allocations: 115.6 kB / 475.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.3435, allocations: 79.41 kB / 475.9 MB, free: 8.77 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3435, allocations: 0 / 475.9 MB, free: 8.77 MB / 382.1 MB Notification: Performance of Templates: time 0.0247/0.3682, allocations: 11.84 MB / 487.7 MB, free: 12.99 MB / 398.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: 5.069526546634734]