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.001626/0.001626, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001753/0.001753, allocations: 185.8 kB / 24.45 MB, free: 3.961 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.51/1.51, allocations: 225.7 MB / 253.3 MB, free: 12.8 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.001655/0.001655, allocations: 43.92 kB / 371.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2438, allocations: 52.18 MB / 423.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007895/0.2517, allocations: 5.516 MB / 429.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004333/0.256, allocations: 2.088 MB / 431.4 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007118/0.2567, allocations: 35.75 kB / 431.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008933/0.2576, allocations: 433.3 kB / 431.9 MB, free: 6.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.2587, allocations: 468.9 kB / 432.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.2599, allocations: 0.5137 MB / 432.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001913/0.2618, allocations: 1.492 MB / 434.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000627/0.2624, allocations: 348.9 kB / 434.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007194/0.2631, allocations: 0.572 MB / 435.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007637/0.2639, allocations: 0.6026 MB / 435.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.2641, allocations: 128 kB / 436 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.2644, allocations: 168 kB / 436.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002875/0.2647, allocations: 306.9 kB / 436.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005206/0.2652, allocations: 0.5168 MB / 437 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.267, allocations: 1.656 MB / 438.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.267, allocations: 0 / 438.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.267, allocations: 0 / 438.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.267, allocations: 4 kB / 438.6 MB, free: 15.56 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.002744/0.2697, allocations: 1.521 MB / 440.2 MB, free: 14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2698, allocations: 8.031 kB / 440.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.27, allocations: 148 kB / 440.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.2713, allocations: 0.69 MB / 441 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.068e-05/0.2714, allocations: 82.11 kB / 441.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.2715, allocations: 108 kB / 441.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.2732, allocations: 0.9117 MB / 442.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.805e-05/0.2732, allocations: 15.89 kB / 442.1 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.966e-05/0.2733, allocations: 40 kB / 442.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.2733, allocations: 24 kB / 442.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.2747, allocations: 0.6363 MB / 442.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004766/0.2794, allocations: 2.618 MB / 445.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.2809, allocations: 0.5736 MB / 446 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005383/0.2814, allocations: 266.7 kB / 446.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.2814, allocations: 8.656 kB / 446.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006907/0.2821, allocations: 344.3 kB / 446.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.006e-06/0.2821, allocations: 4 kB / 446.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.006262/0.2884, allocations: 2.944 MB / 449.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.2885, allocations: 68.34 kB / 449.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.2896, allocations: 0.8681 MB / 450.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.956e-05/0.2897, allocations: 41.7 kB / 450.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004814/0.2901, allocations: 0.532 MB / 451.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/0.2904, allocations: 364.9 kB / 451.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.2907, allocations: 162.6 kB / 451.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2909, allocations: 345.9 kB / 451.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005666/0.2914, allocations: 269.9 kB / 452.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.2921, allocations: 437.3 kB / 452.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.2935, allocations: 0.7484 MB / 453.3 MB, free: 480 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2935, allocations: 0 / 453.3 MB, free: 480 kB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002007/0.2955, allocations: 1.025 MB / 454.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.2955, allocations: 7.281 kB / 454.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.2955, allocations: 4 kB / 454.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004866/0.296, allocations: 146 kB / 454.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007917/0.2968, allocations: 203.8 kB / 454.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004108/0.3009, allocations: 3.705 MB / 458.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000598/0.3015, allocations: 31.98 kB / 458.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.3016, allocations: 32 kB / 458.5 MB, free: 11.11 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.0005452/0.3021, allocations: 305.5 kB / 458.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.3023, allocations: 111.4 kB / 458.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.3043, allocations: 0.9588 MB / 459.9 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.3043, allocations: 8 kB / 459.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3043, allocations: 8 kB / 459.9 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.3043, allocations: 7.984 kB / 459.9 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.3083, allocations: 2.147 MB / 462 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.3083, allocations: 4 kB / 462 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007861/0.3091, allocations: 179.8 kB / 462.2 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000378/0.3095, allocations: 126 kB / 462.3 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.601e-05/0.3095, allocations: 27.98 kB / 462.4 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003469/0.313, allocations: 3.332 MB / 465.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.313, allocations: 3.938 kB / 465.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.3156, allocations: 1.447 MB / 467.1 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004126/0.316, allocations: 163.2 kB / 467.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.3162, allocations: 20 kB / 467.3 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.3166, allocations: 27.98 kB / 467.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.3168, allocations: 80.83 kB / 467.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/0.3168, allocations: 35.98 kB / 467.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008527/0.3177, allocations: 0.6123 MB / 468.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3177, allocations: 0 / 468.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00103/0.3187, allocations: 239.9 kB / 468.3 MB, free: 0.9102 MB / 366.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 (90): * Single equations (assignments): 86 * 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.001763/0.3205, allocations: 475.4 kB / 468.8 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.3226, allocations: 1.018 MB / 469.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3226, allocations: 4 kB / 469.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.3237, allocations: 0.6754 MB / 470.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3247, allocations: 176.3 kB / 470.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.3291, allocations: 2.666 MB / 473.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/0.3297, allocations: 0.5146 MB / 473.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.33, allocations: 75.42 kB / 473.9 MB, free: 11.34 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.33, allocations: 0 / 473.9 MB, free: 11.34 MB / 382.1 MB Notification: Performance of Templates: time 0.03261/0.3626, allocations: 23.41 MB / 497.3 MB, free: 3.914 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.307998582255095]