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.001538/0.001538, allocations: 114 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001913/0.001913, allocations: 213.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2742, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007185/0.2814, allocations: 6.245 MB / 416.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004311/0.2857, allocations: 2.283 MB / 418.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.2868, allocations: 31.88 kB / 418.5 MB, free: 9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.2879, allocations: 425.3 kB / 418.9 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.2894, allocations: 492.7 kB / 419.4 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.2906, allocations: 499.1 kB / 419.9 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001844/0.2925, allocations: 1.492 MB / 421.4 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008899/0.2934, allocations: 0.5513 MB / 421.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000948/0.2943, allocations: 0.5642 MB / 422.5 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.2954, allocations: 0.6495 MB / 423.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002892/0.2957, allocations: 128 kB / 423.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.2962, allocations: 187.9 kB / 423.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.2964, allocations: 302.9 kB / 423.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006107/0.2971, allocations: 0.6489 MB / 424.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.2987, allocations: 1.656 MB / 426 MB, free: 1.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2987, allocations: 0 / 426 MB, free: 1.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2988, allocations: 0 / 426 MB, free: 1.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.2988, allocations: 0 / 426 MB, free: 1.402 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.002549/0.3013, allocations: 1.562 MB / 427.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3014, allocations: 12.03 kB / 427.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003875/0.3018, allocations: 151.1 kB / 427.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.3029, allocations: 0.7743 MB / 428.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.248e-05/0.303, allocations: 82.06 kB / 428.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.3031, allocations: 103.9 kB / 428.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.3047, allocations: 0.9079 MB / 429.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/0.3047, allocations: 11.91 kB / 429.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/0.3048, allocations: 40 kB / 429.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.3048, allocations: 24 kB / 429.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.306, allocations: 0.6402 MB / 430.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004285/0.3103, allocations: 3.193 MB / 433.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.3116, allocations: 0.6117 MB / 434.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004932/0.3121, allocations: 314.6 kB / 434.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.724e-05/0.3122, allocations: 8.656 kB / 434.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006335/0.3128, allocations: 344.4 kB / 434.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.745e-06/0.3128, allocations: 0 / 434.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.005628/0.3185, allocations: 3.075 MB / 437.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.3185, allocations: 60.41 kB / 437.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.3196, allocations: 0.9469 MB / 438.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.694e-05/0.3197, allocations: 41.7 kB / 438.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.3201, allocations: 0.5118 MB / 439.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.3203, allocations: 346.9 kB / 439.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.3205, allocations: 162.6 kB / 439.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3207, allocations: 345.9 kB / 440.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/0.3212, allocations: 269.9 kB / 440.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.3218, allocations: 429.4 kB / 440.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.323, allocations: 0.7444 MB / 441.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.323, allocations: 4 kB / 441.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001735/0.3247, allocations: 1.032 MB / 442.7 MB, free: 208 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3247, allocations: 8 kB / 442.7 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3248, allocations: 4.406 kB / 442.7 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004204/0.3252, allocations: 149.6 kB / 442.9 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007441/0.3259, allocations: 199.9 kB / 443.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003637/0.3296, allocations: 3.984 MB / 447.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.3301, allocations: 31.98 kB / 447.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.3302, allocations: 36 kB / 447.1 MB, free: 11.51 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.0004879/0.3307, allocations: 305.4 kB / 447.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.3309, allocations: 106.8 kB / 447.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.3327, allocations: 0.9557 MB / 448.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.3327, allocations: 8 kB / 448.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.3327, allocations: 15.92 kB / 448.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.3327, allocations: 3.984 kB / 448.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/0.3366, allocations: 2.482 MB / 451 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/0.3367, allocations: 4 kB / 451 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/0.3374, allocations: 183.6 kB / 451.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003506/0.3378, allocations: 126 kB / 451.3 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.3378, allocations: 27.98 kB / 451.3 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/0.3409, allocations: 3.597 MB / 454.9 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.341, allocations: 7.938 kB / 454.9 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.3433, allocations: 1.423 MB / 456.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/0.3437, allocations: 240.2 kB / 456.6 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.3438, allocations: 31.92 kB / 456.6 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.3442, allocations: 28 kB / 456.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.3444, allocations: 72.92 kB / 456.7 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/0.3445, allocations: 28 kB / 456.7 MB, free: 1.379 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008545/0.3453, allocations: 0.6785 MB / 457.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3453, allocations: 0 / 457.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009753/0.3463, allocations: 244 kB / 457.7 MB, free: 476 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.001026/0.3473, allocations: 439.1 kB / 458.1 MB, free: 176 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.3494, allocations: 1.049 MB / 459.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3494, allocations: 0 / 459.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.3504, allocations: 0.6915 MB / 459.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.3515, allocations: 182.7 kB / 460 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.3556, allocations: 2.618 MB / 462.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007754/0.3564, allocations: 1.1 MB / 463.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.3567, allocations: 87.41 kB / 463.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3567, allocations: 0 / 463.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of Templates: time 0.02912/0.3858, allocations: 23.17 MB / 487 MB, free: 3.125 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