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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009758/0.0009761, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.001124/0.001124, allocations: 177 kB / 17.56 MB, free: 6.18 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.338/1.338, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002925, allocations: 12.73 kB / 301.5 MB, free: 5.797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1022, allocations: 50.41 MB / 351.9 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.006482/0.1087, allocations: 5.73 MB / 357.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003986/0.1127, allocations: 2.076 MB / 359.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.1138, allocations: 31.88 kB / 359.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009667/0.1148, allocations: 362.2 kB / 360.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.1163, allocations: 393.7 kB / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1176, allocations: 474.5 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.1194, allocations: 1.41 MB / 362.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008414/0.1203, allocations: 483.6 kB / 362.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008731/0.1212, allocations: 457.8 kB / 363.3 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007932/0.122, allocations: 0.5598 MB / 363.9 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.1222, allocations: 52 kB / 363.9 MB, free: 7.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/0.1225, allocations: 91.97 kB / 364 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003825/0.1229, allocations: 230.8 kB / 364.2 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007728/0.1237, allocations: 0.5725 MB / 364.8 MB, free: 6.422 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.1252, allocations: 1.514 MB / 366.3 MB, free: 4.902 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1252, allocations: 0 / 366.3 MB, free: 4.902 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1252, allocations: 0 / 366.3 MB, free: 4.902 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.1253, allocations: 0 / 366.3 MB, free: 4.902 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.002565/0.1278, allocations: 1.333 MB / 367.7 MB, free: 3.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1279, allocations: 12.03 kB / 367.7 MB, free: 3.508 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001879/0.1281, allocations: 152.4 kB / 367.8 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.1283, allocations: 143.2 kB / 368 MB, free: 3.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.1293, allocations: 0.7392 MB / 368.7 MB, free: 2.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.758e-05/0.1294, allocations: 77.94 kB / 368.8 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/0.1298, allocations: 103.9 kB / 368.9 MB, free: 2.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.1314, allocations: 0.9156 MB / 369.8 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.1314, allocations: 11.89 kB / 369.8 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.1315, allocations: 40 kB / 369.8 MB, free: 1.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.1315, allocations: 24 kB / 369.9 MB, free: 1.246 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.1329, allocations: 0.6402 MB / 370.5 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1742/0.3071, allocations: 3.239 MB / 373.7 MB, free: 22.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.3087, allocations: 0.6207 MB / 374.4 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005927/0.3093, allocations: 303.4 kB / 374.7 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.777e-05/0.3094, allocations: 13.98 kB / 374.7 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009032/0.3103, allocations: 346.6 kB / 375 MB, free: 22.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 2.915e-06/0.3103, allocations: 0 / 375 MB, free: 22.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.006121/0.3164, allocations: 3.087 MB / 378.1 MB, free: 20.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.3165, allocations: 67.16 kB / 378.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.3177, allocations: 0.9297 MB / 379.1 MB, free: 20.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.3177, allocations: 45.92 kB / 379.1 MB, free: 20.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.3181, allocations: 0.5095 MB / 379.7 MB, free: 19.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.3184, allocations: 346.2 kB / 380 MB, free: 19.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3185, allocations: 82.61 kB / 380.1 MB, free: 19.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.3186, allocations: 344.9 kB / 380.4 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.3191, allocations: 277 kB / 380.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006145/0.3198, allocations: 431.3 kB / 381.1 MB, free: 18.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.321, allocations: 0.7575 MB / 381.9 MB, free: 18.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.321, allocations: 0 / 381.9 MB, free: 18.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001979/0.323, allocations: 1.027 MB / 382.9 MB, free: 18.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.3231, allocations: 6.531 kB / 382.9 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3231, allocations: 3.625 kB / 382.9 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004561/0.3235, allocations: 156.8 kB / 383 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007397/0.3243, allocations: 209.2 kB / 383.3 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00312/0.3274, allocations: 3.625 MB / 386.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/0.3279, allocations: 26.81 kB / 386.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.328, allocations: 35.42 kB / 386.9 MB, free: 14.72 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.000481/0.3285, allocations: 310.6 kB / 387.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.3286, allocations: 104.5 kB / 387.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.3307, allocations: 0.9651 MB / 388.3 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.3307, allocations: 8.969 kB / 388.3 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3307, allocations: 2.406 kB / 388.3 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.3307, allocations: 5.875 kB / 388.3 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004316/0.335, allocations: 2.507 MB / 390.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.3351, allocations: 2.719 kB / 390.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007333/0.3358, allocations: 184.1 kB / 391 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004757/0.3363, allocations: 120.8 kB / 391.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.517e-05/0.3364, allocations: 27.53 kB / 391.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/0.3387, allocations: 3.3 MB / 394.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3388, allocations: 4.734 kB / 394.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.3411, allocations: 1.441 MB / 395.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/0.3415, allocations: 244.5 kB / 396.1 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.3416, allocations: 23.31 kB / 396.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.342, allocations: 24.23 kB / 396.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.3422, allocations: 83.5 kB / 396.3 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.3422, allocations: 29.19 kB / 396.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009922/0.3432, allocations: 0.6676 MB / 397 MB, free: 8.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3432, allocations: 0 / 397 MB, free: 8.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001066/0.3443, allocations: 241.7 kB / 397.2 MB, free: 8.219 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.003169/0.3475, allocations: 2.336 MB / 399.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.3493, allocations: 1.044 MB / 400.6 MB, free: 6.062 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3494, allocations: 0 / 400.6 MB, free: 6.062 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.3504, allocations: 0.6907 MB / 401.3 MB, free: 5.617 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.3517, allocations: 173.6 kB / 401.4 MB, free: 5.496 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.3649, allocations: 9.899 MB / 411.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009177/0.3659, allocations: 1.092 MB / 412.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000498/0.3664, allocations: 123.5 kB / 412.6 MB, free: 9.895 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005882/0.367, allocations: 455.3 kB / 413 MB, free: 9.453 MB / 318.1 MB Notification: Performance of SimCode: time 1.062e-06/0.367, allocations: 0 / 413 MB, free: 9.453 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.162/0.529, allocations: 19.64 MB / 432.6 MB, free: 6.051 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002991/0.5293, allocations: 257.8 kB / 432.9 MB, free: 5.699 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.005, allocations: 0 / 432.9 MB, free: 5.699 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle.fmu > 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