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.001963/0.001963, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002485/0.002485, allocations: 208.6 kB / 24.49 MB, free: 4.133 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.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 8.246 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.001526/0.001526, allocations: 59.91 kB / 379 MB, free: 2.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2469, allocations: 53.36 MB / 432.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008668/0.2555, allocations: 6.283 MB / 438.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004809/0.2603, allocations: 2.326 MB / 441 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.2614, allocations: 39.69 kB / 441 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.2625, allocations: 421.4 kB / 441.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.2643, allocations: 0.5085 MB / 442 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.2657, allocations: 0.495 MB / 442.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002298/0.268, allocations: 1.5 MB / 444 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008036/0.2688, allocations: 373.2 kB / 444.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.2698, allocations: 0.5877 MB / 444.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.2709, allocations: 0.6651 MB / 445.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.2712, allocations: 128 kB / 445.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.2716, allocations: 184 kB / 445.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003504/0.272, allocations: 306.9 kB / 446.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008945/0.2729, allocations: 0.6372 MB / 446.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.2751, allocations: 1.662 MB / 448.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2751, allocations: 7.984 kB / 448.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2751, allocations: 0 / 448.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.336e-05/0.2751, allocations: 0 / 448.5 MB, free: 6.785 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.003459/0.2786, allocations: 1.525 MB / 450 MB, free: 5.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2786, allocations: 12.03 kB / 450 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005151/0.2791, allocations: 159.9 kB / 450.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.2807, allocations: 0.7068 MB / 450.9 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.937e-05/0.2807, allocations: 74.12 kB / 451 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.2809, allocations: 115.9 kB / 451.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.2827, allocations: 0.904 MB / 452 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.623e-05/0.2828, allocations: 11.95 kB / 452 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.612e-05/0.2829, allocations: 43.98 kB / 452 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.2829, allocations: 24 kB / 452 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.2843, allocations: 0.6402 MB / 452.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005568/0.2899, allocations: 3.107 MB / 455.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.2913, allocations: 0.5771 MB / 456.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005406/0.2919, allocations: 270.6 kB / 456.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.098e-05/0.2919, allocations: 24.5 kB / 456.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007353/0.2927, allocations: 344.3 kB / 457 MB, free: 14.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.836e-06/0.2927, allocations: 0 / 457 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006522/0.2992, allocations: 2.924 MB / 459.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.2993, allocations: 64.41 kB / 460 MB, free: 11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.3007, allocations: 0.9468 MB / 460.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.832e-05/0.3008, allocations: 45.7 kB / 461 MB, free: 10 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005079/0.3013, allocations: 0.5322 MB / 461.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.3017, allocations: 360.9 kB / 461.9 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.3019, allocations: 158.6 kB / 462 MB, free: 8.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.3021, allocations: 349.9 kB / 462.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006016/0.3027, allocations: 269.9 kB / 462.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007107/0.3034, allocations: 433.4 kB / 463 MB, free: 7.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.3048, allocations: 0.7404 MB / 463.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.3048, allocations: 7.938 kB / 463.8 MB, free: 7.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0021/0.3069, allocations: 1.029 MB / 464.8 MB, free: 6.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.3069, allocations: 8 kB / 464.8 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.3069, allocations: 7.984 kB / 464.8 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004783/0.3074, allocations: 137.6 kB / 465 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008263/0.3082, allocations: 207.7 kB / 465.2 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004283/0.3125, allocations: 3.778 MB / 469 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006267/0.3131, allocations: 31.98 kB / 469 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.3132, allocations: 39.98 kB / 469 MB, free: 1.594 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.0005625/0.3138, allocations: 301.6 kB / 469.3 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.314, allocations: 111.3 kB / 469.4 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.3161, allocations: 0.9556 MB / 470.4 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.3161, allocations: 12 kB / 470.4 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3161, allocations: 0 / 470.4 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.3161, allocations: 7.984 kB / 470.4 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00455/0.3206, allocations: 2.431 MB / 472.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.3206, allocations: 4 kB / 472.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007865/0.3214, allocations: 187.7 kB / 473 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003883/0.3218, allocations: 122 kB / 473.1 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.844e-05/0.3219, allocations: 28.05 kB / 473.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003612/0.3255, allocations: 3.393 MB / 476.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3255, allocations: 4 kB / 476.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.3282, allocations: 1.443 MB / 478 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/0.3287, allocations: 163.2 kB / 478.2 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.3288, allocations: 27.94 kB / 478.2 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.3293, allocations: 27.98 kB / 478.2 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.3295, allocations: 72.86 kB / 478.3 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.116e-05/0.3295, allocations: 28 kB / 478.3 MB, free: 7.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009734/0.3305, allocations: 0.6786 MB / 479 MB, free: 7.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3305, allocations: 96 / 479 MB, free: 7.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001008/0.3315, allocations: 247.9 kB / 479.2 MB, free: 6.945 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.001696/0.3332, allocations: 449.6 kB / 479.7 MB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.3354, allocations: 1.013 MB / 480.7 MB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3354, allocations: 0.875 kB / 480.7 MB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.3365, allocations: 0.6706 MB / 481.4 MB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.3377, allocations: 171.8 kB / 481.5 MB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.3425, allocations: 2.673 MB / 484.2 MB, free: 2.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009487/0.3434, allocations: 1.096 MB / 485.3 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.3437, allocations: 83.41 kB / 485.4 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3437, allocations: 4 kB / 485.4 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of Templates: time 0.03235/0.3761, allocations: 23.26 MB / 0.4967 GB, free: 9.531 MB / 414.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/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_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: 8.66607348411344]