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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 119.8 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 190.9 kB / 21.39 MB, free: 1.52 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.366/1.366, allocations: 207.6 MB / 231.8 MB, free: 4.223 MB / 174.1 MB " [Timeout remaining time 179] 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.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.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 59.91 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09829, allocations: 49.13 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03473/0.133, allocations: 32.77 MB / 424.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.019/0.152, allocations: 15.78 MB / 440 MB, free: 8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003943/0.1524, allocations: 4 kB / 440 MB, free: 7.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008955/0.1533, allocations: 274.3 kB / 440.2 MB, free: 7.727 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009579/0.1543, allocations: 362 kB / 440.6 MB, free: 7.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01519/0.1695, allocations: 5.792 MB / 446.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.1709, allocations: 0.9776 MB / 447.4 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.1711, allocations: 77.05 kB / 447.4 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00494/0.176, allocations: 2.197 MB / 449.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000421/0.1764, allocations: 310.8 kB / 449.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.1765, allocations: 36 kB / 450 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006133/0.1826, allocations: 3.613 MB / 453.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.1828, allocations: 111.6 kB / 453.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.1831, allocations: 223.2 kB / 453.9 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003471/0.1865, allocations: 2.358 MB / 456.3 MB, free: 7.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1865, allocations: 4 kB / 456.3 MB, free: 7.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1865, allocations: 0 / 456.3 MB, free: 7.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1865, allocations: 0 / 456.3 MB, free: 7.621 MB / 382.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.001418/0.188, allocations: 0.8367 MB / 457.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.188, allocations: 8.031 kB / 457.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.879e-05/0.1881, allocations: 70.72 kB / 457.2 MB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006844/0.1888, allocations: 88.64 kB / 457.3 MB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.1893, allocations: 299.8 kB / 457.6 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.1893, allocations: 21.03 kB / 457.6 MB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.434e-05/0.1893, allocations: 44.12 kB / 457.6 MB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008005/0.1901, allocations: 442.2 kB / 458.1 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.1902, allocations: 7.938 kB / 458.1 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.1902, allocations: 12 kB / 458.1 MB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.1902, allocations: 8 kB / 458.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006119/0.1908, allocations: 321.8 kB / 458.4 MB, free: 5.348 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.00283/0.1937, allocations: 2.633 MB / 461 MB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.1942, allocations: 246.4 kB / 461.3 MB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.1944, allocations: 100.8 kB / 461.4 MB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.202/0.3963, allocations: 15.54 MB / 476.9 MB, free: 39.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.3964, allocations: 37.34 kB / 477 MB, free: 39.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.3964, allocations: 0.875 kB / 477 MB, free: 39.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.00409/0.4004, allocations: 1.303 MB / 478.3 MB, free: 39.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.4005, allocations: 58.25 kB / 478.3 MB, free: 39.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.4007, allocations: 264.2 kB / 478.6 MB, free: 39.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.4007, allocations: 35.08 kB / 478.6 MB, free: 39.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/0.4008, allocations: 198.6 kB / 478.8 MB, free: 39.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.4009, allocations: 116.2 kB / 478.9 MB, free: 38.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.742e-05/0.401, allocations: 81.42 kB / 479 MB, free: 38.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.349e-05/0.401, allocations: 337.9 kB / 479.3 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.4012, allocations: 101.6 kB / 479.4 MB, free: 38.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.4014, allocations: 223 kB / 479.6 MB, free: 38.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.4017, allocations: 353.4 kB / 480 MB, free: 38.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4017, allocations: 4 kB / 480 MB, free: 38.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000615/0.4023, allocations: 432.8 kB / 480.4 MB, free: 38.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4024, allocations: 16.44 kB / 480.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4024, allocations: 6.312 kB / 480.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002942/0.4053, allocations: 262.3 kB / 480.7 MB, free: 38.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.4056, allocations: 84.39 kB / 480.8 MB, free: 38.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.4066, allocations: 1.982 MB / 482.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.4068, allocations: 10.47 kB / 482.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.4068, allocations: 17.44 kB / 482.8 MB, free: 36.38 MB / 382.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.0001377/0.407, allocations: 163.9 kB / 482.9 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.407, allocations: 30.16 kB / 483 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008846/0.4079, allocations: 0.9495 MB / 483.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.4079, allocations: 10.84 kB / 483.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.4079, allocations: 5.281 kB / 483.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007305/0.4087, allocations: 1.113 MB / 485.1 MB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.41, allocations: 1.592 MB / 486.6 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.41, allocations: 0 / 486.6 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.4102, allocations: 49.53 kB / 486.7 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/0.4117, allocations: 292.1 kB / 487 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.4117, allocations: 8.703 kB / 487 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003466/0.4121, allocations: 0.6665 MB / 487.7 MB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4121, allocations: 1.875 kB / 487.7 MB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008964/0.413, allocations: 0.9589 MB / 488.6 MB, free: 34.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.4131, allocations: 114 kB / 488.7 MB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.4131, allocations: 15.22 kB / 488.7 MB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.4133, allocations: 7.125 kB / 488.7 MB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.4133, allocations: 24.91 kB / 488.8 MB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.4133, allocations: 8.453 kB / 488.8 MB, free: 34.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.4135, allocations: 239.6 kB / 489 MB, free: 34.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4135, allocations: 0 / 489 MB, free: 34.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001152/0.4147, allocations: 0.4918 MB / 489.5 MB, free: 34.31 MB / 382.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.002542/0.4172, allocations: 1.918 MB / 491.4 MB, free: 33.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007201/0.4179, allocations: 0.507 MB / 491.9 MB, free: 33.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4179, allocations: 0 / 491.9 MB, free: 33.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.4183, allocations: 281.2 kB / 492.2 MB, free: 33.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008874/0.4192, allocations: 206.7 kB / 492.4 MB, free: 33.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.4232, allocations: 3.956 MB / 496.4 MB, free: 31.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.4234, allocations: 0.8249 MB / 497.2 MB, free: 30.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002944/0.4237, allocations: 104.9 kB / 497.3 MB, free: 30.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.4239, allocations: 143.3 kB / 497.4 MB, free: 30.14 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4239, allocations: 0 / 497.4 MB, free: 30.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05242/0.4763, allocations: 23.36 MB / 0.5086 GB, free: 7.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.56, allocations: 7.875 kB / 0.5086 GB, free: 7.41 MB / 382.1 MB " [Timeout remaining time 647] (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_2/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_2/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: 14.975442179944366]