Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001416/0.001416, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.00147/0.00147, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 230.5 MB / 258.1 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 59.91 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2685, allocations: 53.41 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008931/0.2775, allocations: 6.284 MB / 438.7 MB, free: 440 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005354/0.2828, allocations: 2.329 MB / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.2841, allocations: 39.69 kB / 441.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.2852, allocations: 425.3 kB / 441.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.287, allocations: 0.5046 MB / 442 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.2884, allocations: 0.4951 MB / 442.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002296/0.2907, allocations: 1.5 MB / 444 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007149/0.2914, allocations: 373.2 kB / 444.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.2924, allocations: 0.5798 MB / 444.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008706/0.2933, allocations: 0.6729 MB / 445.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.2935, allocations: 132 kB / 445.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.2938, allocations: 180 kB / 445.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000304/0.2941, allocations: 302.9 kB / 446.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000753/0.2949, allocations: 0.645 MB / 446.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.2969, allocations: 1.662 MB / 448.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2969, allocations: 0 / 448.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2969, allocations: 3.938 kB / 448.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.976e-05/0.2969, allocations: 0 / 448.5 MB, free: 6.562 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.002989/0.2999, allocations: 1.521 MB / 450 MB, free: 5.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3, allocations: 8.031 kB / 450.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006391/0.3006, allocations: 167.9 kB / 450.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.302, allocations: 0.699 MB / 450.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.492e-05/0.3021, allocations: 78.31 kB / 451 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.3023, allocations: 108.3 kB / 451.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.304, allocations: 0.9195 MB / 452 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.3041, allocations: 7.953 kB / 452 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-05/0.3041, allocations: 43.98 kB / 452.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.3042, allocations: 27.94 kB / 452.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.3055, allocations: 0.6286 MB / 452.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005361/0.3109, allocations: 3.111 MB / 455.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.3122, allocations: 0.5866 MB / 456.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/0.3128, allocations: 267.3 kB / 456.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.562e-05/0.3128, allocations: 16.66 kB / 456.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007001/0.3135, allocations: 336.4 kB / 457 MB, free: 13.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.755e-06/0.3136, allocations: 0 / 457 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006759/0.3203, allocations: 2.94 MB / 460 MB, free: 10.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.3204, allocations: 64.34 kB / 460 MB, free: 10.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.3217, allocations: 0.943 MB / 461 MB, free: 9.832 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-05/0.3218, allocations: 45.7 kB / 461 MB, free: 9.781 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005084/0.3223, allocations: 0.5204 MB / 461.5 MB, free: 9.254 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.3226, allocations: 364.9 kB / 461.9 MB, free: 8.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.3229, allocations: 162.6 kB / 462.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3231, allocations: 345.9 kB / 462.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/0.3236, allocations: 269.9 kB / 462.7 MB, free: 8.125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006917/0.3243, allocations: 425.4 kB / 463.1 MB, free: 7.656 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.3256, allocations: 0.7482 MB / 463.8 MB, free: 6.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3256, allocations: 0 / 463.8 MB, free: 6.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00215/0.3278, allocations: 1.033 MB / 464.9 MB, free: 5.809 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.3278, allocations: 8 kB / 464.9 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.3278, allocations: 4 kB / 464.9 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005051/0.3283, allocations: 146 kB / 465 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008024/0.3291, allocations: 199.7 kB / 465.2 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004317/0.3335, allocations: 3.781 MB / 469 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006384/0.3341, allocations: 28 kB / 469 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/0.3342, allocations: 35.98 kB / 469 MB, free: 1.391 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.000634/0.3348, allocations: 301.6 kB / 469.3 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/0.3351, allocations: 115.2 kB / 469.5 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.3372, allocations: 0.9557 MB / 470.4 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.178e-05/0.3373, allocations: 8.172 kB / 470.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.3373, allocations: 8 kB / 470.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.3373, allocations: 3.938 kB / 470.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004906/0.3422, allocations: 2.443 MB / 472.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.3422, allocations: 7.938 kB / 472.9 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008308/0.343, allocations: 187.7 kB / 473.1 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/0.3435, allocations: 121.6 kB / 473.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.189e-05/0.3436, allocations: 20 kB / 473.2 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003874/0.3474, allocations: 3.394 MB / 476.6 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.3474, allocations: 7.984 kB / 476.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.3503, allocations: 1.431 MB / 478 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000524/0.3508, allocations: 171.2 kB / 478.2 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.351, allocations: 28 kB / 478.2 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005472/0.3516, allocations: 27.92 kB / 478.3 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.3517, allocations: 77.33 kB / 478.3 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/0.3518, allocations: 31.98 kB / 478.4 MB, free: 7.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001124/0.3529, allocations: 0.6748 MB / 479 MB, free: 6.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3529, allocations: 0 / 479 MB, free: 6.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001214/0.3542, allocations: 243.9 kB / 479.3 MB, free: 6.734 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.00169/0.3558, allocations: 447.3 kB / 479.7 MB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002302/0.3581, allocations: 1.014 MB / 480.7 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.3582, allocations: 4 kB / 480.7 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.3594, allocations: 0.6792 MB / 481.4 MB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.3608, allocations: 169.8 kB / 481.6 MB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.366, allocations: 2.661 MB / 484.2 MB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.3671, allocations: 1.104 MB / 485.3 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/0.3675, allocations: 79.42 kB / 485.4 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3675, allocations: 0 / 485.4 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of Templates: time 0.03586/0.4033, allocations: 23.26 MB / 0.4968 GB, free: 9.297 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.854385701008141]