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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=12000,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=12000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001786, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002001/0.002001, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 59.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2767, allocations: 50.54 MB / 409.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007287/0.2841, allocations: 6.236 MB / 415.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004331/0.2885, allocations: 2.287 MB / 417.8 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005314/0.289, allocations: 35.81 kB / 417.8 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007777/0.2898, allocations: 421.4 kB / 418.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000986/0.2908, allocations: 496.7 kB / 418.7 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009721/0.2918, allocations: 491.1 kB / 419.2 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.2933, allocations: 1.503 MB / 420.7 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007272/0.294, allocations: 0.5435 MB / 421.2 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006456/0.2947, allocations: 0.5565 MB / 421.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007199/0.2954, allocations: 0.6495 MB / 422.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.2956, allocations: 132 kB / 422.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.2959, allocations: 176 kB / 422.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.2962, allocations: 310.9 kB / 423 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005644/0.2967, allocations: 0.6528 MB / 423.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.2984, allocations: 1.653 MB / 425.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2984, allocations: 0 / 425.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2984, allocations: 0 / 425.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.2985, allocations: 0 / 425.3 MB, free: 1.398 MB / 334.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.002577/0.301, allocations: 1.615 MB / 427 MB, free: 15.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.3011, allocations: 12.03 kB / 427 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000407/0.3015, allocations: 160 kB / 427.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.3026, allocations: 0.7711 MB / 427.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/0.3027, allocations: 78.12 kB / 428 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.3028, allocations: 111.9 kB / 428.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.3044, allocations: 0.9118 MB / 429 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.379e-05/0.3045, allocations: 7.953 kB / 429 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.679e-05/0.3045, allocations: 40 kB / 429 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.3046, allocations: 24 kB / 429.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.3058, allocations: 0.6324 MB / 429.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004308/0.3101, allocations: 3.214 MB / 432.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.3115, allocations: 0.6155 MB / 433.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005344/0.312, allocations: 306.6 kB / 433.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.075e-05/0.3121, allocations: 12.64 kB / 433.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006496/0.3127, allocations: 340.4 kB / 434.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.365e-06/0.3128, allocations: 0 / 434.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.00581/0.3186, allocations: 3.09 MB / 437.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.3186, allocations: 64.41 kB / 437.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.3197, allocations: 0.9509 MB / 438.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.3197, allocations: 41.7 kB / 438.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003688/0.3201, allocations: 0.5243 MB / 438.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.3204, allocations: 364.9 kB / 439.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.3206, allocations: 158.6 kB / 439.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3207, allocations: 345.9 kB / 439.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/0.3213, allocations: 273.9 kB / 440 MB, free: 2.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/0.3219, allocations: 425.5 kB / 440.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.3231, allocations: 0.7404 MB / 441.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3232, allocations: 12 kB / 441.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001792/0.325, allocations: 1.033 MB / 442.2 MB, free: 80 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.325, allocations: 11.94 kB / 442.2 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.325, allocations: 4 kB / 442.2 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/0.3255, allocations: 146 kB / 442.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007593/0.3262, allocations: 207.7 kB / 442.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/0.3298, allocations: 3.985 MB / 446.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.3303, allocations: 27.98 kB / 446.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.3304, allocations: 40.06 kB / 446.6 MB, free: 11.38 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.0004328/0.3308, allocations: 309.5 kB / 446.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.3309, allocations: 107.3 kB / 447 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.3328, allocations: 0.9557 MB / 447.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.3328, allocations: 8 kB / 447.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3328, allocations: 11.92 kB / 447.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.3328, allocations: 3.984 kB / 448 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/0.3367, allocations: 2.478 MB / 450.4 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.3367, allocations: 4 kB / 450.4 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007769/0.3375, allocations: 188.1 kB / 450.6 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003692/0.3379, allocations: 121.7 kB / 450.7 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.918e-05/0.3379, allocations: 23.98 kB / 450.8 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003052/0.341, allocations: 3.605 MB / 454.4 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.341, allocations: 7.938 kB / 454.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/0.3433, allocations: 1.435 MB / 455.8 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.3436, allocations: 240.8 kB / 456 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.3438, allocations: 35.92 kB / 456.1 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.3442, allocations: 20.14 kB / 456.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.3443, allocations: 80.88 kB / 456.2 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/0.3444, allocations: 28 kB / 456.2 MB, free: 1.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007741/0.3452, allocations: 0.6785 MB / 456.9 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3452, allocations: 0 / 456.9 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000881/0.3461, allocations: 240 kB / 457.1 MB, free: 328 kB / 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 (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.0009571/0.347, allocations: 446.8 kB / 457.6 MB, free: 16 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.349, allocations: 1.045 MB / 458.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.349, allocations: 0 / 458.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.3501, allocations: 0.6872 MB / 459.3 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009679/0.3511, allocations: 188.2 kB / 459.5 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.3549, allocations: 2.614 MB / 462.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007255/0.3556, allocations: 1.104 MB / 463.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004118/0.356, allocations: 123.6 kB / 463.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.3563, allocations: 75.42 kB / 463.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3563, allocations: 0 / 463.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of Templates: time 0.01904/0.3753, allocations: 11.22 MB / 474.6 MB, free: 14.89 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches