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.00132/0.001321, allocations: 104 kB / 17.59 MB, free: 5.555 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.001308/0.001308, allocations: 191.5 kB / 18.51 MB, free: 4.637 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.401/1.401, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 52.09 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.1012, allocations: 49.44 MB / 350.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.009047/0.1103, allocations: 6.233 MB / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00556/0.1159, allocations: 2.135 MB / 359.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.1173, allocations: 31.81 kB / 359.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.1187, allocations: 433.3 kB / 359.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.1206, allocations: 448.9 kB / 360 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.1223, allocations: 0.518 MB / 360.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00232/0.1246, allocations: 1.484 MB / 362 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.1257, allocations: 0.5396 MB / 362.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.1268, allocations: 0.5448 MB / 363.1 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.128, allocations: 0.6456 MB / 363.7 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003975/0.1284, allocations: 136 kB / 363.8 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000615/0.129, allocations: 168 kB / 364 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004613/0.1295, allocations: 310.8 kB / 364.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.1307, allocations: 0.6411 MB / 365 MB, free: 6.094 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.1328, allocations: 1.612 MB / 366.6 MB, free: 4.477 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1328, allocations: 3.938 kB / 366.6 MB, free: 4.473 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1329, allocations: 0 / 366.6 MB, free: 4.473 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.463e-05/0.1329, allocations: 0 / 366.6 MB, free: 4.473 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.003338/0.1363, allocations: 1.547 MB / 368.1 MB, free: 2.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1363, allocations: 12.03 kB / 368.1 MB, free: 2.863 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002896/0.1366, allocations: 143.2 kB / 368.3 MB, free: 2.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.1381, allocations: 0.747 MB / 369 MB, free: 1.934 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.1382, allocations: 78.12 kB / 369.1 MB, free: 1.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/0.1385, allocations: 107.9 kB / 369.2 MB, free: 1.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.1404, allocations: 0.9117 MB / 370.1 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.085e-05/0.1404, allocations: 11.91 kB / 370.1 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.407e-05/0.1405, allocations: 36 kB / 370.2 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.1406, allocations: 24 kB / 370.2 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.142, allocations: 0.6402 MB / 370.8 MB, free: 116 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1788/0.3208, allocations: 3.226 MB / 374 MB, free: 23.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.3223, allocations: 0.6108 MB / 374.7 MB, free: 23.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005475/0.3228, allocations: 300.1 kB / 375 MB, free: 23.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.492e-05/0.3229, allocations: 14.7 kB / 375 MB, free: 23.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007109/0.3236, allocations: 351.8 kB / 375.3 MB, free: 23.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 3.196e-06/0.3236, allocations: 0 / 375.3 MB, free: 23.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.005882/0.3295, allocations: 3.056 MB / 378.4 MB, free: 21.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.3296, allocations: 63.7 kB / 378.4 MB, free: 21.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.3308, allocations: 0.9307 MB / 379.4 MB, free: 21.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.3308, allocations: 44.08 kB / 379.4 MB, free: 21.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.3312, allocations: 0.5118 MB / 379.9 MB, free: 20.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.3314, allocations: 345.1 kB / 380.3 MB, free: 20.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.3316, allocations: 159.9 kB / 380.4 MB, free: 20.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.3317, allocations: 342.4 kB / 380.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.3322, allocations: 274.6 kB / 381 MB, free: 19.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/0.3328, allocations: 429.9 kB / 381.4 MB, free: 19.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.3339, allocations: 0.7452 MB / 382.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3339, allocations: 5.812 kB / 382.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001923/0.3359, allocations: 1.026 MB / 383.2 MB, free: 18.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3359, allocations: 10.56 kB / 383.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3359, allocations: 6.531 kB / 383.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005055/0.3364, allocations: 153 kB / 383.4 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007975/0.3372, allocations: 204.3 kB / 383.6 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/0.3406, allocations: 3.986 MB / 387.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/0.3414, allocations: 29 kB / 387.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.296e-05/0.3415, allocations: 36.72 kB / 387.6 MB, free: 15.1 MB / 302.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.0005966/0.3421, allocations: 299.2 kB / 387.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.3422, allocations: 105.5 kB / 388 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.3441, allocations: 0.9548 MB / 389 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.3441, allocations: 8.938 kB / 389 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3441, allocations: 11.95 kB / 389 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.3441, allocations: 8.438 kB / 389 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004005/0.3482, allocations: 2.497 MB / 391.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.3482, allocations: 3.531 kB / 391.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007847/0.349, allocations: 176.7 kB / 391.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003387/0.3493, allocations: 128.7 kB / 391.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.187e-05/0.3494, allocations: 26.02 kB / 391.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/0.3518, allocations: 3.606 MB / 395.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.3519, allocations: 7.922 kB / 395.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.354, allocations: 1.435 MB / 396.9 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.3544, allocations: 241.7 kB / 397.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.3545, allocations: 21 kB / 397.1 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.3549, allocations: 25.3 kB / 397.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.3551, allocations: 82.03 kB / 397.2 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.846e-05/0.3552, allocations: 29.3 kB / 397.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008457/0.356, allocations: 0.6626 MB / 397.9 MB, free: 8.094 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.356, allocations: 0 / 397.9 MB, free: 8.094 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001084/0.3571, allocations: 247 kB / 398.2 MB, free: 8.059 MB / 302.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.001/0.3581, allocations: 463.4 kB / 398.6 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002263/0.3604, allocations: 1.079 MB / 399.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3604, allocations: 3.938 kB / 399.7 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008708/0.3613, allocations: 0.6925 MB / 400.4 MB, free: 6.762 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/0.3622, allocations: 176.1 kB / 400.6 MB, free: 6.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.3656, allocations: 2.648 MB / 403.2 MB, free: 4.402 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.3661, allocations: 1.096 MB / 404.3 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.3663, allocations: 91.34 kB / 404.4 MB, free: 3.188 MB / 302.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3663, allocations: 0 / 404.4 MB, free: 3.188 MB / 302.1 MB Notification: Performance of Templates: time 0.02763/0.3939, allocations: 22.93 MB / 427.3 MB, free: 12.25 MB / 334.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