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.001118/0.001117, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001137, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 56.16 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1032, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007269/0.1105, allocations: 6.242 MB / 365.1 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004226/0.1147, allocations: 2.29 MB / 367.4 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007569/0.1155, allocations: 27.88 kB / 367.5 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008534/0.1164, allocations: 429.3 kB / 367.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.1177, allocations: 488.7 kB / 368.4 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.1189, allocations: 0.4912 MB / 368.8 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.1208, allocations: 1.496 MB / 370.3 MB, free: 1.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007956/0.1216, allocations: 0.5512 MB / 370.9 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008282/0.1224, allocations: 0.5603 MB / 371.5 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007113/0.1232, allocations: 0.6417 MB / 372.1 MB, free: 72 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2194/0.3426, allocations: 129.2 kB / 372.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.3437, allocations: 181.4 kB / 372.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004227/0.3441, allocations: 308.9 kB / 372.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.3451, allocations: 0.6415 MB / 373.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.3477, allocations: 1.653 MB / 375 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3477, allocations: 2.156 kB / 375 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3478, allocations: 0 / 375 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.318e-05/0.3478, allocations: 0 / 375 MB, free: 11.23 MB / 302.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.003294/0.3511, allocations: 1.563 MB / 376.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.3512, allocations: 9.656 kB / 376.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000514/0.3517, allocations: 150.5 kB / 376.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.353, allocations: 0.7717 MB / 377.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/0.3531, allocations: 75.09 kB / 377.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.3533, allocations: 106.9 kB / 377.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.3552, allocations: 0.9157 MB / 378.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.329e-05/0.3552, allocations: 8.484 kB / 378.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.698e-05/0.3553, allocations: 39.14 kB / 378.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.3554, allocations: 23.94 kB / 378.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.3568, allocations: 0.6432 MB / 379.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005139/0.362, allocations: 3.196 MB / 382.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.3635, allocations: 0.6112 MB / 383.1 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005541/0.364, allocations: 297.2 kB / 383.4 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.165e-05/0.3641, allocations: 16.5 kB / 383.4 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007073/0.3648, allocations: 340.8 kB / 383.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 2.706e-06/0.3648, allocations: 0 / 383.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.006456/0.3713, allocations: 3.059 MB / 386.8 MB, free: 6.254 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.3714, allocations: 62.75 kB / 386.9 MB, free: 6.191 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.3728, allocations: 0.94 MB / 387.8 MB, free: 5.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.3729, allocations: 50.36 kB / 387.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/0.3732, allocations: 0.5122 MB / 388.4 MB, free: 5.379 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.3734, allocations: 345.3 kB / 388.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.3736, allocations: 164.8 kB / 388.9 MB, free: 5.027 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.3737, allocations: 344.2 kB / 389.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/0.3742, allocations: 274.3 kB / 389.5 MB, free: 4.598 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006051/0.3749, allocations: 430.9 kB / 389.9 MB, free: 4.332 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.376, allocations: 0.7387 MB / 390.6 MB, free: 3.902 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.376, allocations: 5.281 kB / 390.6 MB, free: 3.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001843/0.3779, allocations: 1.035 MB / 391.7 MB, free: 3.469 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.3779, allocations: 6.875 kB / 391.7 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3779, allocations: 4.406 kB / 391.7 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000448/0.3784, allocations: 145.5 kB / 391.8 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007519/0.3791, allocations: 207.1 kB / 392 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/0.3821, allocations: 3.983 MB / 396 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/0.3828, allocations: 34.12 kB / 396 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.3829, allocations: 37.53 kB / 396.1 MB, free: 15.82 MB / 318.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.00063/0.3835, allocations: 306.1 kB / 396.4 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.3837, allocations: 108.9 kB / 396.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.3858, allocations: 0.9567 MB / 397.4 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.3858, allocations: 10.06 kB / 397.4 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.3858, allocations: 2.562 kB / 397.4 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.3858, allocations: 5.156 kB / 397.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/0.3902, allocations: 2.482 MB / 399.9 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.3902, allocations: 4.625 kB / 399.9 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006929/0.3909, allocations: 185.7 kB / 400.1 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003514/0.3913, allocations: 123 kB / 400.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/0.3913, allocations: 31.52 kB / 400.3 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003157/0.3945, allocations: 3.598 MB / 403.9 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.3945, allocations: 3.688 kB / 403.9 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.397, allocations: 1.434 MB / 405.3 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.3975, allocations: 237 kB / 405.5 MB, free: 9.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.3976, allocations: 30.2 kB / 405.6 MB, free: 9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.398, allocations: 24.88 kB / 405.6 MB, free: 8.984 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.3982, allocations: 80.33 kB / 405.7 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.87e-05/0.3983, allocations: 29.12 kB / 405.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009937/0.3993, allocations: 0.6712 MB / 406.4 MB, free: 8.586 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.384e-06/0.3993, allocations: 0 / 406.4 MB, free: 8.586 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001123/0.4004, allocations: 243.3 kB / 406.6 MB, free: 8.551 MB / 318.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.001114/0.4015, allocations: 443.8 kB / 407 MB, free: 8.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.4037, allocations: 1.06 MB / 408.1 MB, free: 7.301 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4038, allocations: 4.062 kB / 408.1 MB, free: 7.297 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.405, allocations: 0.69 MB / 408.8 MB, free: 6.605 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.4064, allocations: 190.5 kB / 409 MB, free: 6.426 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.4108, allocations: 2.564 MB / 411.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007711/0.4116, allocations: 1.108 MB / 412.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004401/0.412, allocations: 115.6 kB / 412.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.4122, allocations: 75.42 kB / 412.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of SimCode: time 2.435e-06/0.4122, allocations: 0 / 412.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of Templates: time 0.02076/0.433, allocations: 10.99 MB / 423.8 MB, free: 7.602 MB / 334.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 -s cvode -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