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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=12000,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=12000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00158/0.00158, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001555/0.001555, allocations: 205.2 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.491/1.491, allocations: 230.4 MB / 250 MB, free: 9.023 MB / 206.1 MB 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.001869/0.001869, allocations: 67.83 kB / 367.3 MB, free: 7.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2826, allocations: 53.3 MB / 420.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008046/0.2907, allocations: 6.268 MB / 426.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004345/0.295, allocations: 2.306 MB / 429.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005737/0.2956, allocations: 27.88 kB / 429.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008083/0.2964, allocations: 429.3 kB / 429.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.2975, allocations: 0.4968 MB / 430.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009597/0.2984, allocations: 491.1 kB / 430.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.3, allocations: 1.492 MB / 432.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005959/0.3006, allocations: 384.7 kB / 432.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007386/0.3013, allocations: 0.5681 MB / 433.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000764/0.3021, allocations: 0.6612 MB / 433.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.3023, allocations: 132 kB / 433.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.3026, allocations: 176 kB / 434 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003351/0.3029, allocations: 314.7 kB / 434.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005888/0.3035, allocations: 0.645 MB / 435 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.3054, allocations: 1.661 MB / 436.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3054, allocations: 0 / 436.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3054, allocations: 0 / 436.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.3054, allocations: 4 kB / 436.7 MB, free: 8.273 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.002821/0.3082, allocations: 1.604 MB / 438.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3083, allocations: 8.031 kB / 438.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004093/0.3087, allocations: 160 kB / 438.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.31, allocations: 0.7751 MB / 439.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.658e-05/0.3101, allocations: 78.06 kB / 439.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.3102, allocations: 108 kB / 439.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.312, allocations: 0.904 MB / 440.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.888e-05/0.312, allocations: 15.94 kB / 440.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.037e-05/0.3121, allocations: 44 kB / 440.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/0.3121, allocations: 27.98 kB / 440.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.3135, allocations: 0.6363 MB / 441 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005162/0.3186, allocations: 3.214 MB / 444.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.32, allocations: 0.5727 MB / 444.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005348/0.3205, allocations: 270.7 kB / 445.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-05/0.3206, allocations: 20.55 kB / 445.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006911/0.3213, allocations: 344.4 kB / 445.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.986e-06/0.3213, allocations: 0 / 445.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006493/0.3278, allocations: 3.079 MB / 448.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.3278, allocations: 60.41 kB / 448.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.3291, allocations: 0.9431 MB / 449.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/0.3291, allocations: 45.7 kB / 449.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004572/0.3296, allocations: 0.5244 MB / 450.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003535/0.3299, allocations: 364.9 kB / 450.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.3302, allocations: 162.6 kB / 450.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3304, allocations: 345.9 kB / 450.9 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000569/0.3309, allocations: 265.9 kB / 451.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006933/0.3316, allocations: 435.9 kB / 451.6 MB, free: 8.883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.333, allocations: 0.7405 MB / 452.3 MB, free: 8.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.333, allocations: 0 / 452.3 MB, free: 8.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002035/0.335, allocations: 1.037 MB / 453.4 MB, free: 7.043 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.335, allocations: 4 kB / 453.4 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.335, allocations: 4 kB / 453.4 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000457/0.3355, allocations: 149.6 kB / 453.5 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/0.3363, allocations: 195.8 kB / 453.7 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004388/0.3407, allocations: 3.993 MB / 457.7 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.3412, allocations: 31.98 kB / 457.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/0.3412, allocations: 32 kB / 457.8 MB, free: 2.359 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.0004709/0.3417, allocations: 309.6 kB / 458.1 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.3418, allocations: 111.3 kB / 458.2 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.3437, allocations: 0.9556 MB / 459.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.3437, allocations: 8 kB / 459.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3438, allocations: 4 kB / 459.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.3438, allocations: 7.969 kB / 459.2 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004059/0.3478, allocations: 2.482 MB / 461.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.3478, allocations: 4 kB / 461.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007768/0.3486, allocations: 183.7 kB / 461.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003734/0.349, allocations: 126 kB / 462 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.163e-05/0.349, allocations: 27.98 kB / 462 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003624/0.3527, allocations: 3.593 MB / 465.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.3527, allocations: 11.92 kB / 465.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.3552, allocations: 1.428 MB / 467 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/0.3555, allocations: 248.3 kB / 467.3 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.3556, allocations: 23.94 kB / 467.3 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.356, allocations: 23.98 kB / 467.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.3562, allocations: 72.94 kB / 467.4 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.3562, allocations: 39.98 kB / 467.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000895/0.3571, allocations: 0.6747 MB / 468.1 MB, free: 7.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3571, allocations: 0 / 468.1 MB, free: 7.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009343/0.3581, allocations: 236.5 kB / 468.3 MB, free: 7.312 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.00155/0.3596, allocations: 458.5 kB / 468.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.3615, allocations: 1.002 MB / 469.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3615, allocations: 64 / 469.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.3626, allocations: 0.6708 MB / 470.4 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008967/0.3635, allocations: 193 kB / 470.6 MB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.3676, allocations: 2.618 MB / 473.2 MB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008183/0.3685, allocations: 1.1 MB / 474.3 MB, free: 1.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004092/0.3689, allocations: 119.6 kB / 474.5 MB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.3691, allocations: 83.34 kB / 474.5 MB, free: 1.098 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3691, allocations: 0 / 474.5 MB, free: 1.098 MB / 382.1 MB Notification: Performance of Templates: time 0.02323/0.3923, allocations: 11.4 MB / 485.9 MB, free: 5.777 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.makefile (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) 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) Reference file matches