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.001659/0.001659, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001699/0.001699, allocations: 206.8 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2759, allocations: 50.54 MB / 409.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.01025/0.2862, allocations: 6.236 MB / 416.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004576/0.2909, allocations: 2.294 MB / 418.5 MB, free: 9.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.292, allocations: 27.88 kB / 418.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.2932, allocations: 421.3 kB / 418.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.295, allocations: 0.489 MB / 419.4 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.2964, allocations: 491.2 kB / 419.9 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.2986, allocations: 1.496 MB / 421.4 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009713/0.2995, allocations: 0.5513 MB / 421.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009861/0.3005, allocations: 0.5603 MB / 422.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.3016, allocations: 0.6534 MB / 423.1 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002778/0.3019, allocations: 128 kB / 423.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.3023, allocations: 176 kB / 423.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.3026, allocations: 306.9 kB / 423.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008152/0.3034, allocations: 0.6528 MB / 424.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.3054, allocations: 1.652 MB / 426 MB, free: 1.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3055, allocations: 0 / 426 MB, free: 1.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3055, allocations: 0 / 426 MB, free: 1.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.657e-05/0.3056, allocations: 0 / 426 MB, free: 1.543 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.003456/0.309, allocations: 1.57 MB / 427.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3091, allocations: 12.03 kB / 427.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005034/0.3096, allocations: 147.2 kB / 427.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.311, allocations: 0.7703 MB / 428.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/0.3111, allocations: 78.12 kB / 428.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.3113, allocations: 103.9 kB / 428.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.313, allocations: 0.9156 MB / 429.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.166e-05/0.3131, allocations: 11.91 kB / 429.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.736e-05/0.3132, allocations: 36 kB / 429.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.3132, allocations: 24 kB / 429.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.3145, allocations: 0.6402 MB / 430.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005152/0.3197, allocations: 3.197 MB / 433.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.3211, allocations: 0.6195 MB / 434.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.3217, allocations: 302.7 kB / 434.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-05/0.3217, allocations: 16.64 kB / 434.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006723/0.3224, allocations: 340.3 kB / 434.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.447e-06/0.3224, allocations: 0 / 434.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.006312/0.3288, allocations: 3.065 MB / 437.8 MB, free: 5.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.3288, allocations: 60.41 kB / 437.9 MB, free: 5.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.3301, allocations: 0.9547 MB / 438.9 MB, free: 4.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.964e-05/0.3302, allocations: 41.7 kB / 438.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/0.3306, allocations: 0.5157 MB / 439.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/0.3309, allocations: 343 kB / 439.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.3312, allocations: 158.6 kB / 439.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3313, allocations: 345.9 kB / 440.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/0.3319, allocations: 269.9 kB / 440.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006311/0.3325, allocations: 433.4 kB / 440.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.3337, allocations: 0.7366 MB / 441.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.3338, allocations: 7.984 kB / 441.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00194/0.3357, allocations: 1.029 MB / 442.7 MB, free: 348 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.3358, allocations: 8 kB / 442.7 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3358, allocations: 4 kB / 442.7 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004684/0.3363, allocations: 145.6 kB / 442.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/0.3371, allocations: 212 kB / 443.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003901/0.341, allocations: 3.992 MB / 447.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/0.3416, allocations: 27.98 kB / 447.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.86e-05/0.3418, allocations: 36 kB / 447.1 MB, free: 11.64 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.000554/0.3423, allocations: 313.5 kB / 447.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.3425, allocations: 110.7 kB / 447.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.3445, allocations: 0.9557 MB / 448.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.3445, allocations: 8 kB / 448.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.3445, allocations: 7.938 kB / 448.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3445, allocations: 3.984 kB / 448.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004118/0.3486, allocations: 2.482 MB / 451 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.3487, allocations: 4 kB / 451 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007865/0.3495, allocations: 176.2 kB / 451.2 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003788/0.3499, allocations: 129.6 kB / 451.3 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/0.3499, allocations: 23.98 kB / 451.3 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00318/0.3531, allocations: 3.593 MB / 454.9 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3532, allocations: 12.06 kB / 454.9 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.3555, allocations: 1.431 MB / 456.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.3559, allocations: 240.2 kB / 456.6 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.356, allocations: 27.92 kB / 456.6 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.3565, allocations: 28 kB / 456.6 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.3566, allocations: 80.92 kB / 456.7 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.741e-05/0.3567, allocations: 32 kB / 456.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008324/0.3575, allocations: 0.6746 MB / 457.4 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3575, allocations: 0 / 457.4 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009291/0.3585, allocations: 240 kB / 457.7 MB, free: 0.5898 MB / 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.001006/0.3595, allocations: 434.5 kB / 458.1 MB, free: 304 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.3615, allocations: 1.046 MB / 459.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3615, allocations: 4 kB / 459.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.3626, allocations: 0.6902 MB / 459.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.3636, allocations: 182.5 kB / 460 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.3676, allocations: 2.626 MB / 462.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008489/0.3685, allocations: 1.096 MB / 463.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.3688, allocations: 83.41 kB / 463.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3688, allocations: 0 / 463.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of Templates: time 0.02816/0.397, allocations: 23.33 MB / 487.1 MB, free: 3.094 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches