Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 114.8 kB / 17.06 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 198.8 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 43.94 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2466, allocations: 49.44 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.006955/0.2536, allocations: 6.225 MB / 406.9 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003822/0.2575, allocations: 2.15 MB / 409.1 MB, free: 456 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00052/0.258, allocations: 31.81 kB / 409.1 MB, free: 424 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007931/0.2588, allocations: 425.5 kB / 409.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009475/0.2598, allocations: 468.9 kB / 410 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009675/0.2608, allocations: 0.5136 MB / 410.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.2621, allocations: 1.496 MB / 412 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007155/0.2628, allocations: 0.5396 MB / 412.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006207/0.2635, allocations: 0.5603 MB / 413.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006811/0.2642, allocations: 0.6417 MB / 413.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.2643, allocations: 132 kB / 413.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.2646, allocations: 175.9 kB / 414.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.2649, allocations: 306.9 kB / 414.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005406/0.2654, allocations: 0.6372 MB / 415 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.2669, allocations: 1.648 MB / 416.6 MB, free: 8.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2669, allocations: 3.984 kB / 416.6 MB, free: 8.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2669, allocations: 0 / 416.6 MB, free: 8.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.2669, allocations: 0 / 416.6 MB, free: 8.859 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.002495/0.2694, allocations: 1.554 MB / 418.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2695, allocations: 15.89 kB / 418.2 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.2697, allocations: 143.2 kB / 418.3 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.2708, allocations: 0.7665 MB / 419.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.2709, allocations: 78.12 kB / 419.2 MB, free: 6.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.271, allocations: 111.9 kB / 419.3 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.2727, allocations: 0.9078 MB / 420.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.2727, allocations: 11.91 kB / 420.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.048e-05/0.2728, allocations: 40 kB / 420.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.2728, allocations: 24 kB / 420.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.2741, allocations: 0.6402 MB / 420.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004553/0.2787, allocations: 3.185 MB / 424.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.2801, allocations: 0.6195 MB / 424.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/0.2806, allocations: 294.7 kB / 425 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.2807, allocations: 16.64 kB / 425 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000648/0.2813, allocations: 344.4 kB / 425.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.796e-06/0.2813, allocations: 0 / 425.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.005819/0.2872, allocations: 3.057 MB / 428.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.2872, allocations: 64.41 kB / 428.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.2883, allocations: 0.9273 MB / 429.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/0.2884, allocations: 53.69 kB / 429.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/0.2888, allocations: 0.5117 MB / 430 MB, free: 11.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.289, allocations: 346.9 kB / 430.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.2893, allocations: 158.7 kB / 430.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2894, allocations: 345.9 kB / 430.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/0.2899, allocations: 265.9 kB / 431.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006427/0.2906, allocations: 437.2 kB / 431.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.2918, allocations: 0.7444 MB / 432.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2918, allocations: 0 / 432.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001826/0.2937, allocations: 1.037 MB / 433.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2937, allocations: 4 kB / 433.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2937, allocations: 4 kB / 433.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004358/0.2942, allocations: 149.6 kB / 433.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007806/0.2949, allocations: 211.6 kB / 433.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.2986, allocations: 3.987 MB / 437.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005794/0.2992, allocations: 35.98 kB / 437.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.2993, allocations: 36 kB / 437.7 MB, free: 3 MB / 350.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.0004707/0.2997, allocations: 313.4 kB / 438 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.2999, allocations: 106.7 kB / 438.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.3017, allocations: 0.9517 MB / 439.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3017, allocations: 12 kB / 439.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3018, allocations: 4 kB / 439.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.3018, allocations: 7.969 kB / 439.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/0.3056, allocations: 2.474 MB / 441.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.3056, allocations: 7.984 kB / 441.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007916/0.3064, allocations: 183.8 kB / 441.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003603/0.3068, allocations: 122 kB / 441.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/0.3069, allocations: 24 kB / 441.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003082/0.31, allocations: 3.597 MB / 445.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.31, allocations: 4 kB / 445.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.3123, allocations: 1.431 MB / 446.9 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/0.3127, allocations: 239.7 kB / 447.2 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.3128, allocations: 27.94 kB / 447.2 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.3132, allocations: 23.98 kB / 447.2 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.3134, allocations: 72.94 kB / 447.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.3135, allocations: 39.98 kB / 447.3 MB, free: 8.867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008164/0.3143, allocations: 0.663 MB / 448 MB, free: 8.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3143, allocations: 0 / 448 MB, free: 8.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009294/0.3152, allocations: 240 kB / 448.2 MB, free: 7.973 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.001009/0.3162, allocations: 445.3 kB / 448.6 MB, free: 7.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.3181, allocations: 1.057 MB / 449.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3181, allocations: 64 / 449.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.3192, allocations: 0.698 MB / 450.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3202, allocations: 173.5 kB / 450.6 MB, free: 5.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.3239, allocations: 2.562 MB / 453.1 MB, free: 3.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.3246, allocations: 1.112 MB / 454.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004318/0.325, allocations: 127.5 kB / 454.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.3252, allocations: 75.42 kB / 454.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3252, allocations: 0 / 454.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of Templates: time 0.01981/0.3451, allocations: 11.19 MB / 465.6 MB, free: 6.641 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches