Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 56.2 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2737, allocations: 49.16 MB / 396.4 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03813/0.3118, allocations: 33.03 MB / 429.4 MB, free: 496 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02153/0.3334, allocations: 15.87 MB / 445.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005159/0.3339, allocations: 7.938 kB / 445.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.3349, allocations: 270.4 kB / 445.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.3361, allocations: 369.9 kB / 445.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01817/0.3543, allocations: 5.797 MB / 451.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.3558, allocations: 0.9971 MB / 452.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.356, allocations: 73.23 kB / 452.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004914/0.3609, allocations: 2.208 MB / 455 MB, free: 8.668 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000473/0.3614, allocations: 310.8 kB / 455.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.145e-05/0.3615, allocations: 36 kB / 455.3 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006975/0.3684, allocations: 3.621 MB / 459 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.3686, allocations: 103.7 kB / 459.1 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003122/0.3689, allocations: 219.1 kB / 459.3 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004101/0.373, allocations: 2.362 MB / 461.6 MB, free: 2.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.373, allocations: 0 / 461.6 MB, free: 2.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.373, allocations: 0 / 461.6 MB, free: 2.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.373, allocations: 3.938 kB / 461.6 MB, free: 2.016 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001606/0.3746, allocations: 0.7653 MB / 462.4 MB, free: 1.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3747, allocations: 23.92 kB / 462.4 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.842e-05/0.3748, allocations: 66.72 kB / 462.5 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000727/0.3755, allocations: 84.66 kB / 462.6 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.3759, allocations: 242 kB / 462.8 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.3759, allocations: 25.03 kB / 462.8 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.376, allocations: 36.12 kB / 462.9 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008066/0.3768, allocations: 442.4 kB / 463.3 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3768, allocations: 4 kB / 463.3 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.3768, allocations: 16 kB / 463.3 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3769, allocations: 8 kB / 463.3 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006225/0.3775, allocations: 318.3 kB / 463.6 MB, free: 15.9 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002878/0.3804, allocations: 2.516 MB / 466.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/0.3809, allocations: 246.5 kB / 466.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.3811, allocations: 96.83 kB / 466.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02989/0.411, allocations: 8.307 MB / 474.8 MB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.411, allocations: 34.56 kB / 474.8 MB, free: 4.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.414e-06/0.411, allocations: 4 kB / 474.8 MB, free: 4.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.006124/0.4171, allocations: 1.155 MB / 476 MB, free: 3.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.4172, allocations: 55.41 kB / 476 MB, free: 3.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.4177, allocations: 273.8 kB / 476.3 MB, free: 2.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.4177, allocations: 33.7 kB / 476.3 MB, free: 2.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.418, allocations: 196.4 kB / 476.5 MB, free: 2.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.4181, allocations: 111 kB / 476.6 MB, free: 2.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.4183, allocations: 82.08 kB / 476.7 MB, free: 2.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.4185, allocations: 342.8 kB / 477.1 MB, free: 2.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.4188, allocations: 92.84 kB / 477.1 MB, free: 2.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/0.4192, allocations: 226.9 kB / 477.4 MB, free: 1.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008025/0.42, allocations: 354.4 kB / 477.7 MB, free: 1.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.42, allocations: 8 kB / 477.7 MB, free: 1.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001277/0.4213, allocations: 435.1 kB / 478.1 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.4213, allocations: 4.031 kB / 478.2 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.4214, allocations: 11.94 kB / 478.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003359/0.4247, allocations: 265.4 kB / 478.4 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.425, allocations: 79.84 kB / 478.5 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.4269, allocations: 1.882 MB / 480.4 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.4272, allocations: 12 kB / 480.4 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.4272, allocations: 20 kB / 480.4 MB, free: 14.51 MB / 398.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: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002404/0.4275, allocations: 165.9 kB / 480.6 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.4275, allocations: 31.81 kB / 480.6 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.4288, allocations: 0.974 MB / 481.6 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4288, allocations: 7.984 kB / 481.6 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.4288, allocations: 0 / 481.6 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/0.43, allocations: 1.153 MB / 482.7 MB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.432, allocations: 1.601 MB / 484.3 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.432, allocations: 0 / 484.3 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.4322, allocations: 47.92 kB / 484.4 MB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.4339, allocations: 299.9 kB / 484.7 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.4339, allocations: 8 kB / 484.7 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000632/0.4345, allocations: 0.6811 MB / 485.4 MB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4345, allocations: 4.031 kB / 485.4 MB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.4358, allocations: 0.9768 MB / 486.4 MB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.012e-05/0.4359, allocations: 43.72 kB / 486.4 MB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.436, allocations: 15.89 kB / 486.4 MB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.4361, allocations: 8 kB / 486.4 MB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.4362, allocations: 11.97 kB / 486.4 MB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.4362, allocations: 15.98 kB / 486.4 MB, free: 8.266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000288/0.4365, allocations: 239.1 kB / 486.7 MB, free: 8.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4365, allocations: 3.938 kB / 486.7 MB, free: 8.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001903/0.4384, allocations: 0.4955 MB / 487.2 MB, free: 7.527 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003471/0.4419, allocations: 1.93 MB / 489.1 MB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.4429, allocations: 0.5186 MB / 489.6 MB, free: 5.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4429, allocations: 0 / 489.6 MB, free: 5.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004636/0.4433, allocations: 292.2 kB / 489.9 MB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4444, allocations: 188.7 kB / 490.1 MB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005556/0.4499, allocations: 3.964 MB / 494.1 MB, free: 416 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.4505, allocations: 0.8284 MB / 494.9 MB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003071/0.4508, allocations: 107.2 kB / 495 MB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.451, allocations: 143.4 kB / 495.1 MB, free: 15.3 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.451, allocations: 0 / 495.1 MB, free: 15.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06495/0.5159, allocations: 23.82 MB / 0.5068 GB, free: 7.402 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/13.86, allocations: 7.969 kB / 0.5068 GB, free: 7.395 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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: 16.495097600854933]