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.00128/0.00128, allocations: 108.5 kB / 17.06 MB, free: 6.004 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.001131/0.001131, allocations: 196.1 kB / 18 MB, free: 5.082 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.417/1.417, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000919/0.000919, allocations: 43.94 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2804, allocations: 49.43 MB / 400.7 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.00778/0.2883, allocations: 6.215 MB / 406.9 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003904/0.2922, allocations: 2.15 MB / 409.1 MB, free: 460 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005394/0.2928, allocations: 31.81 kB / 409.1 MB, free: 428 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007697/0.2935, allocations: 429.5 kB / 409.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009504/0.2945, allocations: 476.9 kB / 410 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009826/0.2955, allocations: 0.5061 MB / 410.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.297, allocations: 1.503 MB / 412 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006812/0.2977, allocations: 0.5434 MB / 412.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005859/0.2983, allocations: 0.5564 MB / 413.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.299, allocations: 0.6534 MB / 413.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.2991, allocations: 128 kB / 413.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.2994, allocations: 168 kB / 414.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.2996, allocations: 306.9 kB / 414.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005471/0.3002, allocations: 0.645 MB / 415 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.3016, allocations: 1.636 MB / 416.6 MB, free: 8.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3016, allocations: 0 / 416.6 MB, free: 8.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3016, allocations: 0 / 416.6 MB, free: 8.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.3016, allocations: 0 / 416.6 MB, free: 8.855 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.002422/0.304, allocations: 1.565 MB / 418.2 MB, free: 7.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3041, allocations: 11.89 kB / 418.2 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.3043, allocations: 147.2 kB / 418.4 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.3054, allocations: 0.7626 MB / 419.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.283e-05/0.3055, allocations: 82.12 kB / 419.2 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.3056, allocations: 99.91 kB / 419.3 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.3071, allocations: 0.9156 MB / 420.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/0.3071, allocations: 7.906 kB / 420.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.349e-05/0.3072, allocations: 40 kB / 420.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.3072, allocations: 24 kB / 420.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.3085, allocations: 0.6363 MB / 420.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004537/0.313, allocations: 3.201 MB / 424.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.3143, allocations: 0.6195 MB / 424.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/0.3148, allocations: 294.7 kB / 425 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.627e-05/0.3149, allocations: 16.64 kB / 425 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006145/0.3155, allocations: 348.3 kB / 425.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 8.366e-06/0.3155, allocations: 3.984 kB / 425.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.005691/0.3212, allocations: 3.061 MB / 428.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.3213, allocations: 60.41 kB / 428.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.3224, allocations: 0.9312 MB / 429.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.3224, allocations: 45.7 kB / 429.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/0.3229, allocations: 0.5078 MB / 430 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.3231, allocations: 343 kB / 430.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.3233, allocations: 158.6 kB / 430.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3235, allocations: 353.9 kB / 430.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/0.324, allocations: 265.9 kB / 431.1 MB, free: 10 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/0.3247, allocations: 441.2 kB / 431.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.3258, allocations: 0.7406 MB / 432.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3258, allocations: 0 / 432.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001741/0.3276, allocations: 1.025 MB / 433.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3276, allocations: 11.98 kB / 433.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3276, allocations: 4 kB / 433.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004366/0.3281, allocations: 146 kB / 433.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/0.3288, allocations: 203.7 kB / 433.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.3323, allocations: 3.994 MB / 437.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.3327, allocations: 28 kB / 437.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.3328, allocations: 35.98 kB / 437.7 MB, free: 2.996 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.0004025/0.3332, allocations: 309.4 kB / 438 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.3333, allocations: 106.6 kB / 438.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.335, allocations: 0.9556 MB / 439.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.335, allocations: 8 kB / 439.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3351, allocations: 4 kB / 439.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.3351, allocations: 7.984 kB / 439.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.3387, allocations: 2.486 MB / 441.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3387, allocations: 0 / 441.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007205/0.3395, allocations: 179.8 kB / 441.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/0.3398, allocations: 125.6 kB / 441.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.3399, allocations: 24.23 kB / 441.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/0.3428, allocations: 3.6 MB / 445.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3428, allocations: 0 / 445.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.345, allocations: 1.427 MB / 446.9 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.3453, allocations: 243.7 kB / 447.1 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.725e-05/0.3454, allocations: 27.92 kB / 447.2 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.3458, allocations: 24 kB / 447.2 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.3459, allocations: 80.92 kB / 447.3 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/0.346, allocations: 28 kB / 447.3 MB, free: 8.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007475/0.3467, allocations: 0.6669 MB / 448 MB, free: 8.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3467, allocations: 0 / 448 MB, free: 8.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008148/0.3476, 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.0009426/0.3485, allocations: 448.8 kB / 448.6 MB, free: 7.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.3503, allocations: 1.049 MB / 449.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3503, allocations: 0 / 449.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009978/0.3513, allocations: 0.6987 MB / 450.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008871/0.3522, allocations: 180.6 kB / 450.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.3559, allocations: 2.581 MB / 453.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.3565, allocations: 1.096 MB / 454.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003408/0.3569, allocations: 111.6 kB / 454.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.3571, allocations: 83.41 kB / 454.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3571, allocations: 0 / 454.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of Templates: time 0.0213/0.3784, allocations: 11.19 MB / 465.6 MB, free: 6.645 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