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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001176/0.001176, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8904/0.8904, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.418e-05, allocations: 7.266 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.004609/0.004623, allocations: 5.546 MB / 330.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.007451, allocations: 2.242 MB / 332.3 MB, free: 8.094 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003323/0.007783, allocations: 35.75 kB / 332.3 MB, free: 8.059 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006116/0.008395, allocations: 421.2 kB / 332.7 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007693/0.009164, allocations: 0.5277 MB / 333.3 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.01017, allocations: 498.7 kB / 333.8 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.01119, allocations: 1.542 MB / 335.3 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004574/0.01165, allocations: 349.1 kB / 335.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007097/0.01236, allocations: 0.8262 MB / 336.5 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.01278, allocations: 0.5063 MB / 337 MB, free: 3.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003657/0.01315, allocations: 132 kB / 337.1 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.01334, allocations: 187.9 kB / 337.3 MB, free: 3.066 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.01352, allocations: 318.7 kB / 337.6 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002692/0.01379, allocations: 422.8 kB / 338 MB, free: 2.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.01485, allocations: 1.667 MB / 339.7 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01485, allocations: 0 / 339.7 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.01485, allocations: 3.938 kB / 339.7 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.01487, allocations: 4 kB / 339.7 MB, free: 0.6562 MB / 298.7 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.001726/0.01659, allocations: 1.513 MB / 341.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.01663, allocations: 11.98 kB / 341.2 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.01675, allocations: 148.4 kB / 341.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/0.01699, allocations: 164 kB / 341.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007959/0.01779, allocations: 0.697 MB / 342.2 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.01783, allocations: 78.31 kB / 342.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.081e-05/0.01792, allocations: 100.3 kB / 342.4 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009408/0.01886, allocations: 0.9162 MB / 343.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.01889, allocations: 11.89 kB / 343.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/0.01894, allocations: 40 kB / 343.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.01895, allocations: 24 kB / 343.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007873/0.01974, allocations: 0.6363 MB / 344 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002917/0.02266, allocations: 2.766 MB / 346.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000791/0.02345, allocations: 0.5697 MB / 347.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.02374, allocations: 270.7 kB / 347.6 MB, free: 8.531 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.02378, allocations: 16.59 kB / 347.6 MB, free: 8.516 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000392/0.02417, allocations: 348.4 kB / 348 MB, free: 8.164 MB / 314.7 MB Notification: Performance of pre-optimization done (n=80): time 1.873e-06/0.02417, allocations: 3.938 kB / 348 MB, free: 8.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.003422/0.02759, allocations: 2.932 MB / 350.9 MB, free: 5.184 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.02763, allocations: 68.39 kB / 351 MB, free: 5.105 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009589/0.02859, allocations: 0.9547 MB / 351.9 MB, free: 4.145 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.02862, allocations: 45.7 kB / 352 MB, free: 4.094 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.02887, allocations: 0.5243 MB / 352.5 MB, free: 3.562 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.02904, allocations: 360.9 kB / 352.9 MB, free: 3.207 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.02918, allocations: 162.7 kB / 353 MB, free: 3.043 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.602e-05/0.02926, allocations: 345.9 kB / 353.3 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.02958, allocations: 265.9 kB / 353.6 MB, free: 2.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.02996, allocations: 429.4 kB / 354 MB, free: 1.969 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000785/0.03075, allocations: 0.7483 MB / 354.8 MB, free: 1.172 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.03075, allocations: 4 kB / 354.8 MB, free: 1.168 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001141/0.03189, allocations: 1.041 MB / 355.8 MB, free: 112 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.03192, allocations: 10.97 kB / 355.8 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.03193, allocations: 4 kB / 355.8 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003228/0.03225, allocations: 146 kB / 356 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.03265, allocations: 207.7 kB / 356.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.03534, allocations: 3.734 MB / 359.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.03557, allocations: 35.94 kB / 359.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.03562, allocations: 36 kB / 360 MB, free: 11.72 MB / 330.7 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.0003177/0.03593, allocations: 305.8 kB / 360.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.03603, allocations: 107.3 kB / 360.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.03716, allocations: 0.9636 MB / 361.4 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.03717, allocations: 11.94 kB / 361.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.03717, allocations: 8 kB / 361.4 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.03718, allocations: 3.984 kB / 361.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.03942, allocations: 2.276 MB / 363.6 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.03942, allocations: 4 kB / 363.7 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.03981, allocations: 183.8 kB / 363.8 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/0.04002, allocations: 129.9 kB / 364 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.04006, allocations: 31.92 kB / 364 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.04221, allocations: 3.363 MB / 367.4 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.04221, allocations: 4 kB / 367.4 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.04361, allocations: 1.451 MB / 368.8 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.04382, allocations: 175.2 kB / 369 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/0.04388, allocations: 20 kB / 369 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.04408, allocations: 23.98 kB / 369 MB, free: 2.266 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/0.04418, allocations: 84.83 kB / 369.1 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.04422, allocations: 35.98 kB / 369.1 MB, free: 2.148 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005043/0.04472, allocations: 0.6786 MB / 369.8 MB, free: 1.477 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04472, allocations: 0 / 369.8 MB, free: 1.477 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005588/0.04528, allocations: 243.9 kB / 370.1 MB, free: 1.238 MB / 330.7 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 (90): * Single equations (assignments): 86 * 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.002362/0.04764, allocations: 2.347 MB / 372.4 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.04907, allocations: 1.022 MB / 373.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.04907, allocations: 0 / 373.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005794/0.04965, allocations: 0.6745 MB / 374.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/0.05023, allocations: 192.1 kB / 374.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007945/0.05817, allocations: 8.578 MB / 382.9 MB, free: 4.148 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.05851, allocations: 0.5152 MB / 383.4 MB, free: 3.598 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002463/0.05876, allocations: 127.5 kB / 383.5 MB, free: 3.469 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/0.05913, allocations: 448.3 kB / 383.9 MB, free: 3.031 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.05913, allocations: 0 / 383.9 MB, free: 3.031 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.09325, allocations: 22.88 MB / 406.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/7.806, allocations: 3.859 kB / 406.8 MB, free: 12.28 MB / 378.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle_fmu --startTime=0 --stopTime=60 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.707303264178336]