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.0014/0.0014, allocations: 112.2 kB / 17.74 MB, free: 5.355 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.001496/0.001497, allocations: 187.1 kB / 18.67 MB, free: 4.434 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.441/1.441, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000996/0.0009961, allocations: 39.94 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2946, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008004/0.3026, allocations: 6.223 MB / 407.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00449/0.3072, allocations: 2.15 MB / 409.8 MB, free: 460 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.3084, allocations: 27.88 kB / 409.8 MB, free: 432 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.3096, allocations: 429.3 kB / 410.2 MB, free: 0 / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.3112, allocations: 449 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.3127, allocations: 0.5069 MB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002302/0.315, allocations: 1.499 MB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.316, allocations: 0.5396 MB / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009969/0.317, allocations: 0.5603 MB / 413.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.3181, allocations: 0.6456 MB / 414.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002952/0.3184, allocations: 132 kB / 414.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.3189, allocations: 172 kB / 414.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.3192, allocations: 302.9 kB / 415 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009098/0.3202, allocations: 0.645 MB / 415.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.3222, allocations: 1.64 MB / 417.3 MB, free: 8.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3222, allocations: 0 / 417.3 MB, free: 8.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3223, allocations: 0 / 417.3 MB, free: 8.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.934e-05/0.3223, allocations: 0 / 417.3 MB, free: 8.887 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.003288/0.3256, allocations: 1.558 MB / 418.8 MB, free: 7.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3257, allocations: 15.89 kB / 418.9 MB, free: 7.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.326, allocations: 143.2 kB / 419 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.3274, allocations: 0.7665 MB / 419.8 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/0.3275, allocations: 74.12 kB / 419.8 MB, free: 6.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.3277, allocations: 115.8 kB / 420 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.3295, allocations: 0.9117 MB / 420.9 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.318e-05/0.3296, allocations: 11.89 kB / 420.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/0.3297, allocations: 40 kB / 420.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.3297, allocations: 24 kB / 420.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.3311, allocations: 0.6325 MB / 421.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005365/0.3364, allocations: 3.193 MB / 424.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.3378, allocations: 0.6195 MB / 425.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.3384, allocations: 294.7 kB / 425.7 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-05/0.3384, allocations: 24.61 kB / 425.7 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006886/0.3391, allocations: 340.4 kB / 426 MB, free: 15.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.336e-06/0.3392, allocations: 4 kB / 426 MB, free: 15.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.006224/0.3454, allocations: 3.057 MB / 429.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.3455, allocations: 60.41 kB / 429.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.3468, allocations: 0.9351 MB / 430.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/0.3469, allocations: 41.7 kB / 430.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.3473, allocations: 0.5155 MB / 430.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/0.3476, allocations: 347 kB / 431 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.3478, allocations: 154.7 kB / 431.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.348, allocations: 349.9 kB / 431.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/0.3485, allocations: 269.9 kB / 431.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006627/0.3492, allocations: 433.3 kB / 432.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.3505, allocations: 0.7483 MB / 432.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3505, allocations: 0 / 432.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001955/0.3525, allocations: 1.028 MB / 433.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3525, allocations: 4 kB / 433.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.3525, allocations: 4 kB / 433.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004885/0.353, allocations: 160.2 kB / 434.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007826/0.3538, allocations: 207.7 kB / 434.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003945/0.3578, allocations: 3.988 MB / 438.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006203/0.3584, allocations: 24 kB / 438.3 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/0.3585, allocations: 35.98 kB / 438.4 MB, free: 3.023 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.0005864/0.3591, allocations: 313.4 kB / 438.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.3593, allocations: 106.7 kB / 438.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.3613, allocations: 0.9479 MB / 439.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.3613, allocations: 12 kB / 439.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3613, allocations: 0 / 439.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.3613, allocations: 12.02 kB / 439.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004324/0.3657, allocations: 2.486 MB / 442.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.3657, allocations: 4 kB / 442.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/0.3665, allocations: 175.8 kB / 442.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003829/0.3669, allocations: 121.6 kB / 442.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.002e-05/0.367, allocations: 28.2 kB / 442.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003312/0.3703, allocations: 3.596 MB / 446.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.3703, allocations: 4 kB / 446.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.3728, allocations: 1.427 MB / 447.6 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005049/0.3734, allocations: 235.7 kB / 447.8 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.3736, allocations: 31.92 kB / 447.8 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.3741, allocations: 28.47 kB / 447.9 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.3743, allocations: 76.88 kB / 447.9 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.864e-05/0.3743, allocations: 27.98 kB / 448 MB, free: 8.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000937/0.3753, allocations: 0.6669 MB / 448.6 MB, free: 8.238 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3753, allocations: 0 / 448.6 MB, free: 8.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001004/0.3763, allocations: 247.9 kB / 448.9 MB, free: 7.996 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.001014/0.3773, allocations: 444.1 kB / 449.3 MB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001999/0.3793, allocations: 1.049 MB / 450.4 MB, free: 6.648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3794, allocations: 0 / 450.4 MB, free: 6.648 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.3805, allocations: 0.7026 MB / 451.1 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.3817, allocations: 180.7 kB / 451.2 MB, free: 5.746 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/0.3861, allocations: 2.61 MB / 453.8 MB, free: 3.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009113/0.3871, allocations: 1.104 MB / 454.9 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.3874, allocations: 79.42 kB / 455 MB, free: 1.859 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3874, allocations: 0 / 455 MB, free: 1.859 MB / 366.1 MB Notification: Performance of Templates: time 0.03175/0.4191, allocations: 23.06 MB / 478.1 MB, free: 10.79 MB / 398.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/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_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches