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.001716/0.001716, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001354/0.001354, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.437/1.437, allocations: 225.6 MB / 253.3 MB, free: 13.05 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.001576/0.001576, allocations: 47.92 kB / 371.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2771, allocations: 52.19 MB / 423.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008236/0.2853, allocations: 6.279 MB / 430.2 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004547/0.2899, allocations: 2.181 MB / 432.3 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009699/0.2908, allocations: 39.75 kB / 432.4 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.2918, allocations: 425.3 kB / 432.8 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.2932, allocations: 476.9 kB / 433.3 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.2944, allocations: 0.5146 MB / 433.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002039/0.2965, allocations: 1.503 MB / 435.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006616/0.2971, allocations: 369.1 kB / 435.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007983/0.2979, allocations: 0.5721 MB / 436.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008485/0.2988, allocations: 0.6612 MB / 436.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.2989, allocations: 128 kB / 437 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.2993, allocations: 175.9 kB / 437.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.2996, allocations: 310.9 kB / 437.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000631/0.3002, allocations: 0.6372 MB / 438.1 MB, free: 416 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.3021, allocations: 1.643 MB / 439.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3021, allocations: 4 kB / 439.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3021, allocations: 0 / 439.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.3021, allocations: 0 / 439.8 MB, free: 14.76 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.002975/0.3051, allocations: 1.525 MB / 441.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3051, allocations: 8.031 kB / 441.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.3053, allocations: 152 kB / 441.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.3067, allocations: 0.6977 MB / 442.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/0.3067, allocations: 78.12 kB / 442.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.3069, allocations: 99.95 kB / 442.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.3085, allocations: 0.9118 MB / 443.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.991e-05/0.3086, allocations: 7.953 kB / 443.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.981e-05/0.3086, allocations: 44 kB / 443.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/0.3087, allocations: 24 kB / 443.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.3099, allocations: 0.6363 MB / 443.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004905/0.3148, allocations: 3.111 MB / 447 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.3162, allocations: 0.5725 MB / 447.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.3167, allocations: 266.7 kB / 447.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.521e-05/0.3168, allocations: 12.66 kB / 447.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006724/0.3174, allocations: 344.3 kB / 448.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.555e-06/0.3175, allocations: 0 / 448.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.006226/0.3237, allocations: 2.947 MB / 451.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.3237, allocations: 60.41 kB / 451.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.325, allocations: 0.9313 MB / 452.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.489e-05/0.3251, allocations: 41.7 kB / 452.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000493/0.3256, allocations: 0.5243 MB / 452.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003106/0.3259, allocations: 360.9 kB / 453.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.3261, allocations: 162.6 kB / 453.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3263, allocations: 345.9 kB / 453.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.3268, allocations: 269.8 kB / 453.8 MB, free: 384 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.3275, allocations: 429.4 kB / 454.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.3288, allocations: 0.7483 MB / 455 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3288, allocations: 0 / 455 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001961/0.3308, allocations: 1.029 MB / 456 MB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3308, allocations: 8 kB / 456 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3308, allocations: 4 kB / 456 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004968/0.3313, allocations: 148.5 kB / 456.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007878/0.3321, allocations: 211.7 kB / 456.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004104/0.3362, allocations: 3.771 MB / 460.2 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/0.3368, allocations: 24 kB / 460.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.705e-05/0.3369, allocations: 39.98 kB / 460.2 MB, free: 9.637 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.0005325/0.3374, allocations: 313.6 kB / 460.5 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.3376, allocations: 107.3 kB / 460.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.3395, allocations: 0.9478 MB / 461.6 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.3395, allocations: 12 kB / 461.6 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3395, allocations: 4 kB / 461.6 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.3395, allocations: 3.984 kB / 461.6 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/0.3437, allocations: 2.439 MB / 464 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.3437, allocations: 4 kB / 464 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008077/0.3446, allocations: 187.7 kB / 464.2 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003931/0.3449, allocations: 118 kB / 464.3 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.345, allocations: 23.98 kB / 464.4 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003533/0.3485, allocations: 3.401 MB / 467.8 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.3485, allocations: 11.88 kB / 467.8 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.3511, allocations: 1.431 MB / 469.2 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000413/0.3515, allocations: 171.2 kB / 469.4 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.3517, allocations: 27.94 kB / 469.4 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.3521, allocations: 20.09 kB / 469.4 MB, free: 0 / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.3522, allocations: 80.91 kB / 469.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-05/0.3523, allocations: 31.98 kB / 469.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008808/0.3532, allocations: 0.6708 MB / 470.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3532, allocations: 0 / 470.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009647/0.3541, allocations: 244 kB / 470.4 MB, free: 14.98 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.001647/0.3558, allocations: 444.1 kB / 470.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.3579, allocations: 1.009 MB / 471.9 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.3579, allocations: 0.875 kB / 471.9 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.359, allocations: 0.6745 MB / 472.6 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.3601, allocations: 175.6 kB / 472.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/0.3646, allocations: 2.666 MB / 475.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008324/0.3654, allocations: 1.1 MB / 476.5 MB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/0.3657, allocations: 87.41 kB / 476.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3657, allocations: 0 / 476.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of Templates: time 0.03127/0.397, allocations: 23.15 MB / 499.7 MB, free: 1.684 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/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: 9.067017510067672]