Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001721/0.001721, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002068/0.002068, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 258.2 MB, free: 8.031 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 60.78 kB / 379 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2463, allocations: 53.38 MB / 432.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008062/0.2543, allocations: 6.281 MB / 438.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004338/0.2587, allocations: 2.326 MB / 441 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006898/0.2594, allocations: 39.69 kB / 441.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008808/0.2602, allocations: 421.3 kB / 441.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.2614, allocations: 0.5046 MB / 442 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2625, allocations: 0.5029 MB / 442.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001786/0.2643, allocations: 1.5 MB / 444 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006504/0.2649, allocations: 377.2 kB / 444.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000862/0.2658, allocations: 0.5759 MB / 444.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008826/0.2667, allocations: 0.669 MB / 445.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.2669, allocations: 132 kB / 445.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.2672, allocations: 184 kB / 445.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002962/0.2675, allocations: 302.9 kB / 446.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006363/0.2682, allocations: 0.6411 MB / 446.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.2702, allocations: 1.663 MB / 448.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2702, allocations: 4 kB / 448.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2702, allocations: 0 / 448.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.2702, 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.00302/0.2732, allocations: 1.525 MB / 450 MB, free: 5.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.2733, allocations: 8.031 kB / 450 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004819/0.2737, allocations: 167.9 kB / 450.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.2751, allocations: 0.699 MB / 450.9 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-05/0.2752, allocations: 82.06 kB / 451 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.2753, allocations: 108 kB / 451.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.2771, allocations: 0.9118 MB / 452 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.051e-05/0.2772, allocations: 3.953 kB / 452 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/0.2773, allocations: 44 kB / 452 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.2773, allocations: 20 kB / 452.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.2787, allocations: 0.6363 MB / 452.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005191/0.2839, allocations: 3.115 MB / 455.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.2853, allocations: 0.5732 MB / 456.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005459/0.2858, allocations: 270.7 kB / 456.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.424e-05/0.2859, allocations: 20.62 kB / 456.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007363/0.2866, allocations: 340.4 kB / 457 MB, free: 14.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.795e-06/0.2866, allocations: 4 kB / 457 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.00655/0.2932, allocations: 2.925 MB / 459.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.2932, allocations: 60.41 kB / 460 MB, free: 11.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.2946, allocations: 0.9507 MB / 460.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/0.2947, allocations: 45.7 kB / 461 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.2952, allocations: 0.5243 MB / 461.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/0.2955, allocations: 360.9 kB / 461.9 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.2957, allocations: 166.6 kB / 462 MB, free: 8.953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2959, allocations: 349.9 kB / 462.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/0.2965, allocations: 269.9 kB / 462.6 MB, free: 8.344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007871/0.2973, allocations: 425.5 kB / 463 MB, free: 7.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.2988, allocations: 0.756 MB / 463.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2988, allocations: 0 / 463.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001973/0.3007, allocations: 1.029 MB / 464.8 MB, free: 6.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3007, allocations: 4 kB / 464.8 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3008, allocations: 4 kB / 464.8 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/0.3013, allocations: 153.4 kB / 465 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/0.3021, allocations: 203.7 kB / 465.2 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0044/0.3065, allocations: 3.778 MB / 469 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.307, allocations: 31.98 kB / 469 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/0.3071, allocations: 32 kB / 469 MB, free: 1.605 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.0005058/0.3076, allocations: 301.6 kB / 469.3 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.3077, allocations: 107.3 kB / 469.4 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.3098, allocations: 0.9675 MB / 470.4 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.3098, allocations: 8 kB / 470.4 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3098, allocations: 4 kB / 470.4 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.3098, allocations: 3.984 kB / 470.4 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004307/0.3141, allocations: 2.443 MB / 472.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.3141, allocations: 4 kB / 472.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008726/0.315, allocations: 179.7 kB / 473 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003879/0.3154, allocations: 125.6 kB / 473.2 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.849e-05/0.3155, allocations: 23.98 kB / 473.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003609/0.3191, allocations: 3.391 MB / 476.6 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3191, allocations: 4 kB / 476.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/0.3217, allocations: 1.435 MB / 478 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.3221, allocations: 175.2 kB / 478.2 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.3222, allocations: 31.92 kB / 478.2 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.3226, allocations: 20 kB / 478.2 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.3228, allocations: 76.86 kB / 478.3 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.3228, allocations: 31.98 kB / 478.3 MB, free: 7.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001061/0.3239, allocations: 0.6786 MB / 479 MB, free: 7.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3239, allocations: 96 / 479 MB, free: 7.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008878/0.3248, allocations: 247.9 kB / 479.3 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.001575/0.3263, allocations: 441.5 kB / 479.7 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001917/0.3283, allocations: 1.006 MB / 480.7 MB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3283, allocations: 4 kB / 480.7 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.3295, allocations: 0.6753 MB / 481.4 MB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000915/0.3304, allocations: 179.2 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.004226/0.3347, allocations: 2.609 MB / 484.2 MB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009619/0.3356, allocations: 1.104 MB / 485.3 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004829/0.3361, allocations: 111.6 kB / 485.4 MB, free: 0.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.3363, allocations: 79.41 kB / 485.4 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of SimCode: time 5.42e-07/0.3363, allocations: 0 / 485.4 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of Templates: time 0.02409/0.3604, allocations: 11.9 MB / 497.3 MB, free: 4.934 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.048450602218509]