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.001199/0.001199, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 55.34 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09286, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.006996/0.09988, allocations: 6.257 MB / 365.1 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003658/0.1036, allocations: 2.283 MB / 367.4 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004012/0.104, allocations: 27.88 kB / 367.4 MB, free: 4.754 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000703/0.1047, allocations: 429.2 kB / 367.9 MB, free: 4.332 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009206/0.1056, allocations: 496.7 kB / 368.4 MB, free: 3.844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009471/0.1066, allocations: 495.1 kB / 368.8 MB, free: 3.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.108, allocations: 1.504 MB / 370.3 MB, free: 1.848 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006885/0.1087, allocations: 0.5552 MB / 370.9 MB, free: 1.262 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005968/0.1093, allocations: 0.5525 MB / 371.4 MB, free: 0.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006236/0.1099, allocations: 0.6456 MB / 372.1 MB, free: 60 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.1729/0.2828, allocations: 127.1 kB / 372.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007998/0.2836, allocations: 176.9 kB / 372.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003369/0.284, allocations: 308.4 kB / 372.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008253/0.2848, allocations: 0.6416 MB / 373.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002494/0.2873, allocations: 1.66 MB / 375 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2874, allocations: 0.7188 kB / 375 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2874, allocations: 1.312 kB / 375 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.202e-05/0.2874, allocations: 2.281 kB / 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.00414/0.2916, allocations: 1.554 MB / 376.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.2916, allocations: 9.688 kB / 376.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007462/0.2924, allocations: 149.5 kB / 376.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.2943, allocations: 0.7746 MB / 377.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/0.2944, allocations: 76.88 kB / 377.6 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.2947, allocations: 104 kB / 377.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.2973, allocations: 0.9101 MB / 378.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.007e-05/0.2974, allocations: 23.91 kB / 378.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.2975, allocations: 38.72 kB / 378.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.2976, allocations: 24.75 kB / 378.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/0.2999, allocations: 0.633 MB / 379.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007618/0.3075, allocations: 3.187 MB / 382.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.3099, allocations: 0.6218 MB / 383.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009103/0.3108, allocations: 296.1 kB / 383.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.19e-05/0.3109, allocations: 14.72 kB / 383.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.3119, allocations: 341.3 kB / 383.7 MB, free: 7.855 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 4.288e-06/0.312, allocations: 7.219 kB / 383.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.01024/0.3222, allocations: 3.056 MB / 386.8 MB, free: 6.242 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.3223, allocations: 63.22 kB / 386.9 MB, free: 6.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.3246, allocations: 0.9436 MB / 387.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.116e-05/0.3247, allocations: 41.72 kB / 387.8 MB, free: 5.773 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005517/0.3253, allocations: 0.5134 MB / 388.4 MB, free: 5.367 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.3256, allocations: 348.2 kB / 388.7 MB, free: 5.102 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003616/0.326, allocations: 164.3 kB / 388.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3261, allocations: 346.8 kB / 389.2 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009969/0.3271, allocations: 270.7 kB / 389.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.3282, allocations: 425.8 kB / 389.9 MB, free: 4.328 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/0.3304, allocations: 0.7434 MB / 390.6 MB, free: 3.895 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.3305, allocations: 1.25 kB / 390.6 MB, free: 3.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003427/0.3339, allocations: 1.039 MB / 391.7 MB, free: 3.457 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.334, allocations: 6.406 kB / 391.7 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.334, allocations: 4.281 kB / 391.7 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008082/0.3348, allocations: 148.9 kB / 391.8 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.3364, allocations: 211.4 kB / 392 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005042/0.3414, allocations: 3.974 MB / 396 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.3425, allocations: 34.41 kB / 396 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.3426, allocations: 34.12 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.0008962/0.3435, allocations: 307.8 kB / 396.4 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.3438, allocations: 109.5 kB / 396.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/0.3475, allocations: 0.9515 MB / 397.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.3475, allocations: 9.938 kB / 397.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.3475, allocations: 2.938 kB / 397.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.3476, allocations: 7.453 kB / 397.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007552/0.3551, allocations: 2.486 MB / 399.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.3552, allocations: 2.906 kB / 399.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.3566, allocations: 187.1 kB / 400.1 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006642/0.3573, allocations: 128.5 kB / 400.2 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.3574, allocations: 27.45 kB / 400.3 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005365/0.3628, allocations: 3.599 MB / 403.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.3628, allocations: 7 kB / 403.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004135/0.367, allocations: 1.425 MB / 405.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006787/0.3677, allocations: 241.2 kB / 405.5 MB, free: 9.008 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.3679, allocations: 28.83 kB / 405.6 MB, free: 8.988 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007989/0.3687, allocations: 24.94 kB / 405.6 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.369, allocations: 78.23 kB / 405.7 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-05/0.3691, allocations: 31.72 kB / 405.7 MB, free: 8.926 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001436/0.3705, allocations: 0.6713 MB / 406.4 MB, free: 8.574 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.3706, allocations: 0 / 406.4 MB, free: 8.574 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001636/0.3722, allocations: 239 kB / 406.6 MB, free: 8.543 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.001733/0.374, allocations: 454.6 kB / 407 MB, free: 8.328 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003028/0.377, allocations: 1.057 MB / 408.1 MB, free: 7.324 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/0.377, allocations: 4 kB / 408.1 MB, free: 7.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.3788, allocations: 0.6918 MB / 408.8 MB, free: 6.629 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.3805, allocations: 175.7 kB / 409 MB, free: 6.461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006096/0.3866, allocations: 2.566 MB / 411.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.3877, allocations: 1.104 MB / 412.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006866/0.3884, allocations: 123.6 kB / 412.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.3888, allocations: 71.42 kB / 412.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3888, allocations: 0 / 412.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of Templates: time 0.03508/0.4239, allocations: 10.99 MB / 423.8 MB, free: 7.637 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 gbode -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