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.001057/0.001057, allocations: 117.6 kB / 17.78 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 203.9 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.319, allocations: 50.54 MB / 409.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008823/0.3278, allocations: 6.233 MB / 415.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003911/0.3318, allocations: 2.294 MB / 417.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000527/0.3323, allocations: 27.88 kB / 417.8 MB, free: 9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007755/0.3331, allocations: 425.3 kB / 418.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009445/0.3341, allocations: 488.7 kB / 418.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008898/0.335, allocations: 495.1 kB / 419.2 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.3364, allocations: 1.504 MB / 420.7 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007716/0.3372, allocations: 0.5435 MB / 421.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007274/0.3379, allocations: 0.5643 MB / 421.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007242/0.3386, allocations: 0.6534 MB / 422.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.3388, allocations: 128 kB / 422.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.3392, allocations: 183.9 kB / 422.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.3394, allocations: 306.9 kB / 423 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005264/0.34, allocations: 0.645 MB / 423.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.3415, allocations: 1.652 MB / 425.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3416, allocations: 0 / 425.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3416, allocations: 0 / 425.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.3416, allocations: 0 / 425.3 MB, free: 1.41 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.002601/0.3442, allocations: 1.57 MB / 426.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3442, allocations: 8.031 kB / 426.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004032/0.3446, allocations: 155.1 kB / 427.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.3458, allocations: 0.7665 MB / 427.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/0.3459, allocations: 78.12 kB / 427.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.3461, allocations: 107.9 kB / 428 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.3476, allocations: 0.904 MB / 428.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.332e-05/0.3477, allocations: 15.89 kB / 428.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.3477, allocations: 40 kB / 429 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.3478, allocations: 24 kB / 429 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.349, allocations: 0.6363 MB / 429.6 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/0.3535, allocations: 3.201 MB / 432.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.3548, allocations: 0.6078 MB / 433.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004925/0.3553, allocations: 302.6 kB / 433.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.141e-05/0.3554, allocations: 20.56 kB / 433.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006344/0.356, allocations: 344.4 kB / 434.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.985e-06/0.356, allocations: 4 kB / 434.1 MB, free: 8.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.00581/0.3618, allocations: 3.075 MB / 437.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.3619, allocations: 60.41 kB / 437.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.363, allocations: 0.943 MB / 438.2 MB, free: 4.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.363, allocations: 45.7 kB / 438.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.3634, allocations: 0.5118 MB / 438.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.3637, allocations: 350.9 kB / 439.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.3639, allocations: 158.6 kB / 439.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3641, allocations: 349.9 kB / 439.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/0.3646, allocations: 269.8 kB / 439.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.3652, allocations: 429.4 kB / 440.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.3664, allocations: 0.7444 MB / 441 MB, free: 1.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3664, allocations: 0 / 441 MB, free: 1.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001782/0.3682, allocations: 1.036 MB / 442 MB, free: 208 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3682, allocations: 4 kB / 442 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3682, allocations: 8.062 kB / 442 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004608/0.3687, allocations: 154 kB / 442.2 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007999/0.3695, allocations: 203.7 kB / 442.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003556/0.3731, allocations: 3.973 MB / 446.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/0.3736, allocations: 35.92 kB / 446.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/0.3737, allocations: 32.12 kB / 446.4 MB, free: 11.52 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.0004472/0.3742, allocations: 313.4 kB / 446.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.3743, allocations: 110.7 kB / 446.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.3762, allocations: 0.948 MB / 447.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.3762, allocations: 8 kB / 447.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3762, allocations: 4 kB / 447.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.3762, allocations: 7.969 kB / 447.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.38, allocations: 2.494 MB / 450.3 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.38, allocations: 0 / 450.3 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008131/0.3809, allocations: 183.7 kB / 450.5 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003652/0.3812, allocations: 121.6 kB / 450.6 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.412e-05/0.3813, allocations: 23.98 kB / 450.6 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003026/0.3843, allocations: 3.601 MB / 454.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3844, allocations: 3.938 kB / 454.2 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.3868, allocations: 1.431 MB / 455.7 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/0.3872, allocations: 239.7 kB / 455.9 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3873, allocations: 27.94 kB / 455.9 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/0.3878, allocations: 23.98 kB / 456 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.3879, allocations: 80.94 kB / 456 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.388, allocations: 27.98 kB / 456.1 MB, free: 1.379 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008596/0.3889, allocations: 0.6786 MB / 456.7 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3889, allocations: 0 / 456.7 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009644/0.3898, allocations: 240 kB / 457 MB, free: 480 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.001025/0.3909, allocations: 442.8 kB / 457.4 MB, free: 176 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00199/0.3929, allocations: 1.05 MB / 458.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3929, allocations: 4 kB / 458.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.394, allocations: 0.6871 MB / 459.1 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.001005/0.395, allocations: 180.4 kB / 459.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.3989, allocations: 2.581 MB / 461.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006357/0.3996, allocations: 1.096 MB / 463 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004066/0.4, allocations: 119.6 kB / 463.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.4002, allocations: 79.41 kB / 463.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4002, allocations: 0 / 463.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of Templates: time 0.01991/0.4201, allocations: 11.22 MB / 474.4 MB, free: 15.09 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/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_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches