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.001547/0.001547, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001713/0.001713, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.398/1.398, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.001842/0.001842, allocations: 51.92 kB / 347.2 MB, free: 9.941 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2675, allocations: 49.16 MB / 396.4 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.0346/0.3021, allocations: 29.83 MB / 426.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01913/0.3212, allocations: 14 MB / 440.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.3216, allocations: 11.94 kB / 440.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008977/0.3225, allocations: 242.5 kB / 440.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008189/0.3233, allocations: 369.9 kB / 440.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0163/0.3396, allocations: 5.716 MB / 446.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.3409, allocations: 0.9932 MB / 447.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.3411, allocations: 65.25 kB / 447.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004559/0.3457, allocations: 2.197 MB / 449.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004506/0.3461, allocations: 294.8 kB / 450.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.204e-05/0.3462, allocations: 36 kB / 450.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006616/0.3528, allocations: 3.492 MB / 453.6 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.353, allocations: 103.7 kB / 453.7 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.3532, allocations: 191.4 kB / 453.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003391/0.3566, allocations: 2.365 MB / 456.3 MB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3566, allocations: 0 / 456.3 MB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3566, allocations: 7.938 kB / 456.3 MB, free: 7.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.3566, allocations: 0 / 456.3 MB, free: 7.07 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.001414/0.358, allocations: 0.7536 MB / 457 MB, free: 6.285 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3581, allocations: 15.92 kB / 457 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.601e-05/0.3582, allocations: 66.73 kB / 457.1 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000718/0.3589, allocations: 92.64 kB / 457.2 MB, free: 6.105 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.3594, allocations: 250 kB / 457.4 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.3594, allocations: 21.03 kB / 457.5 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.3594, allocations: 36.12 kB / 457.5 MB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009292/0.3604, allocations: 0.5826 MB / 458.1 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.3604, allocations: 3.984 kB / 458.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.3604, allocations: 20 kB / 458.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.3604, allocations: 8 kB / 458.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006402/0.3611, allocations: 314.2 kB / 458.4 MB, free: 4.777 MB / 366.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.0027/0.3638, allocations: 1.915 MB / 460.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/0.3644, allocations: 234.6 kB / 460.6 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.3645, allocations: 100.8 kB / 460.7 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0315/0.396, allocations: 8.346 MB / 469 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.046e-05/0.3961, allocations: 42.5 kB / 469 MB, free: 10.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 3.076e-06/0.3961, allocations: 0 / 469 MB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004732/0.4008, allocations: 1.147 MB / 470.2 MB, free: 8.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.4009, allocations: 55.41 kB / 470.3 MB, free: 8.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.4012, allocations: 281.7 kB / 470.5 MB, free: 8.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.4013, allocations: 33.7 kB / 470.6 MB, free: 8.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.4015, allocations: 196.4 kB / 470.7 MB, free: 8.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.676e-05/0.4015, allocations: 111.1 kB / 470.9 MB, free: 8.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.4017, allocations: 86.02 kB / 470.9 MB, free: 8.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.4019, allocations: 342.8 kB / 471.3 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.4021, allocations: 96.83 kB / 471.4 MB, free: 7.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.4025, allocations: 222.9 kB / 471.6 MB, free: 7.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005241/0.403, allocations: 358.3 kB / 471.9 MB, free: 6.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.403, allocations: 0 / 471.9 MB, free: 6.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008327/0.4038, allocations: 442.7 kB / 472.4 MB, free: 6.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4038, allocations: 4 kB / 472.4 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4039, allocations: 4 kB / 472.4 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003058/0.4069, allocations: 261.9 kB / 472.6 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.4072, allocations: 87.84 kB / 472.7 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.4091, allocations: 1.863 MB / 474.6 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.4093, allocations: 8 kB / 474.6 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.4093, allocations: 20.22 kB / 474.6 MB, free: 4.105 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.000248/0.4096, allocations: 189.5 kB / 474.8 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.111e-05/0.4097, allocations: 31.81 kB / 474.8 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.411, allocations: 0.97 MB / 475.8 MB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.411, allocations: 8 kB / 475.8 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.411, allocations: 0 / 475.8 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001405/0.4124, allocations: 1.156 MB / 477 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.4147, allocations: 1.501 MB / 478.5 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4147, allocations: 4 kB / 478.5 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.4149, allocations: 55.91 kB / 478.5 MB, free: 36 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/0.4167, allocations: 284 kB / 478.8 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.4167, allocations: 15.98 kB / 478.8 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006455/0.4174, allocations: 0.6773 MB / 479.5 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4174, allocations: 0 / 479.5 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.4187, allocations: 0.9801 MB / 480.5 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.4189, allocations: 43.67 kB / 480.5 MB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.523e-05/0.4189, allocations: 15.94 kB / 480.5 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.4191, allocations: 8.125 kB / 480.5 MB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.4192, allocations: 15.97 kB / 480.6 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.4192, allocations: 15.98 kB / 480.6 MB, free: 13.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003142/0.4195, allocations: 235.1 kB / 480.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4195, allocations: 0 / 480.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00177/0.4213, allocations: 0.4916 MB / 481.3 MB, free: 13.21 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.003861/0.4252, allocations: 1.938 MB / 483.2 MB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.4263, allocations: 0.522 MB / 483.7 MB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4263, allocations: 0 / 483.7 MB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005029/0.4268, allocations: 284.8 kB / 484 MB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.4279, allocations: 192.7 kB / 484.2 MB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006167/0.4341, allocations: 3.968 MB / 488.2 MB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.4343, allocations: 225.2 kB / 488.4 MB, free: 5.836 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003336/0.4346, allocations: 111.1 kB / 488.5 MB, free: 5.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.4348, allocations: 139.4 kB / 488.6 MB, free: 5.59 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4348, allocations: 0 / 488.6 MB, free: 5.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0651/0.4999, allocations: 24.36 MB / 0.501 GB, free: 13.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.19, allocations: 12 kB / 0.501 GB, free: 13.12 MB / 430.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/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: 15.652594479266554]