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.001229/0.001229, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001633/0.001633, allocations: 210.8 kB / 24.47 MB, free: 3.996 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.398/1.398, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001916/0.001916, allocations: 75.81 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2426, allocations: 53.31 MB / 432 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.00792/0.2505, allocations: 6.291 MB / 438.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004444/0.255, allocations: 2.318 MB / 440.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008387/0.2558, allocations: 35.81 kB / 440.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009153/0.2567, allocations: 417.4 kB / 441.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.258, allocations: 0.5046 MB / 441.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.259, allocations: 0.4912 MB / 442.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.2607, allocations: 1.496 MB / 443.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000618/0.2613, allocations: 376.7 kB / 444 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007563/0.2621, allocations: 0.5681 MB / 444.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007962/0.2629, allocations: 0.6651 MB / 445.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.2631, allocations: 132 kB / 445.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.2634, allocations: 180 kB / 445.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.2637, allocations: 310.9 kB / 445.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005873/0.2643, allocations: 0.645 MB / 446.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.266, allocations: 1.667 MB / 448.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.266, allocations: 0 / 448.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.266, allocations: 0 / 448.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.241e-05/0.2661, allocations: 0 / 448.1 MB, free: 7.207 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.00285/0.2689, allocations: 1.596 MB / 449.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2689, allocations: 12.03 kB / 449.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004121/0.2694, allocations: 156 kB / 449.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.2706, allocations: 0.7867 MB / 450.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.928e-05/0.2707, allocations: 78.12 kB / 450.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.2708, allocations: 99.95 kB / 450.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.2724, allocations: 0.9118 MB / 451.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.38e-05/0.2725, allocations: 19.81 kB / 451.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-05/0.2726, allocations: 40 kB / 451.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.2726, allocations: 27.98 kB / 451.8 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.2739, allocations: 0.6325 MB / 452.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004903/0.2788, allocations: 3.202 MB / 455.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.2801, allocations: 0.5804 MB / 456.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/0.2806, allocations: 270.7 kB / 456.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.424e-05/0.2807, allocations: 16.62 kB / 456.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006631/0.2813, allocations: 344.4 kB / 456.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.755e-06/0.2813, allocations: 3.938 kB / 456.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006268/0.2876, allocations: 3.082 MB / 459.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.2877, allocations: 64.41 kB / 460 MB, free: 10.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.2889, allocations: 0.947 MB / 461 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.289, allocations: 41.7 kB / 461 MB, free: 9.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.2894, allocations: 0.5243 MB / 461.5 MB, free: 9.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.2897, allocations: 364.9 kB / 461.9 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.29, allocations: 158.6 kB / 462 MB, free: 8.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2901, allocations: 349.9 kB / 462.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.2907, allocations: 265.9 kB / 462.6 MB, free: 8.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006868/0.2914, allocations: 429.4 kB / 463.1 MB, free: 7.828 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.2926, allocations: 0.7405 MB / 463.8 MB, free: 7.039 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2926, allocations: 4 kB / 463.8 MB, free: 7.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001962/0.2946, allocations: 1.033 MB / 464.8 MB, free: 5.988 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2946, allocations: 8 kB / 464.8 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.2946, allocations: 4 kB / 464.8 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000459/0.2951, allocations: 142 kB / 465 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007657/0.2958, allocations: 211.7 kB / 465.2 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004121/0.3, allocations: 3.989 MB / 469.2 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.3005, allocations: 28 kB / 469.2 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/0.3006, allocations: 40.05 kB / 469.2 MB, free: 1.297 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.0005207/0.3011, allocations: 306.2 kB / 469.5 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.3013, allocations: 111.3 kB / 469.6 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.3032, allocations: 0.9557 MB / 470.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.3032, allocations: 8 kB / 470.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.3032, allocations: 4 kB / 470.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.3032, allocations: 7.969 kB / 470.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004115/0.3073, allocations: 2.486 MB / 473.1 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.3073, allocations: 4 kB / 473.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007675/0.3081, allocations: 184.2 kB / 473.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003669/0.3085, allocations: 117.6 kB / 473.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/0.3085, allocations: 27.92 kB / 473.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003481/0.312, allocations: 3.605 MB / 477 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.312, allocations: 4 kB / 477 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.3145, allocations: 1.431 MB / 478.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000447/0.315, allocations: 248.3 kB / 478.7 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.3151, allocations: 27.94 kB / 478.7 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.3155, allocations: 23.98 kB / 478.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.3157, allocations: 72.94 kB / 478.8 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.3157, allocations: 35.98 kB / 478.9 MB, free: 7.148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008922/0.3166, allocations: 0.6669 MB / 479.5 MB, free: 6.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3166, allocations: 0 / 479.5 MB, free: 6.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009183/0.3175, allocations: 248 kB / 479.8 MB, free: 6.242 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.001546/0.3191, allocations: 455.6 kB / 480.2 MB, free: 5.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.3211, allocations: 1.002 MB / 481.2 MB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.3211, allocations: 0 / 481.2 MB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.3222, allocations: 0.6708 MB / 481.9 MB, free: 4.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.3233, allocations: 184.2 kB / 482.1 MB, free: 4.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.3276, allocations: 2.659 MB / 484.7 MB, free: 1.324 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007966/0.3284, allocations: 1.104 MB / 485.8 MB, free: 196 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.3287, allocations: 79.41 kB / 485.9 MB, free: 116 kB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3287, allocations: 4 kB / 485.9 MB, free: 112 kB / 382.1 MB Notification: Performance of Templates: time 0.03017/0.3589, allocations: 23.27 MB / 0.4973 GB, free: 8.832 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.685178637970239]