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_ph.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.001213/0.001213, allocations: 122.2 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.001173/0.001173, 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.377/1.377, allocations: 207.6 MB / 231.8 MB, free: 4.02 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_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",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.001653/0.001653, allocations: 51.92 kB / 342.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08849/0.09014, allocations: 49.12 MB / 391.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03562/0.1258, allocations: 32.78 MB / 424.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01851/0.1443, allocations: 15.78 MB / 440 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.1445, allocations: 7.938 kB / 440 MB, free: 7.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007403/0.1453, allocations: 270.3 kB / 440.2 MB, free: 7.707 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006682/0.146, allocations: 366 kB / 440.6 MB, free: 7.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01377/0.1597, allocations: 5.796 MB / 446.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.161, allocations: 0.9893 MB / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.1612, allocations: 77.05 kB / 447.5 MB, free: 468 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004407/0.1656, allocations: 2.212 MB / 449.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004078/0.166, allocations: 322.8 kB / 450 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.942e-05/0.1661, allocations: 40 kB / 450 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/0.1767, allocations: 6.084 MB / 456.1 MB, free: 7.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.1768, allocations: 119.6 kB / 456.2 MB, free: 7.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.1771, allocations: 223.2 kB / 456.4 MB, free: 7.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007078/0.1842, allocations: 3.784 MB / 460.2 MB, free: 3.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.515e-06/0.1842, allocations: 4 kB / 460.2 MB, free: 3.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1842, allocations: 0 / 460.2 MB, free: 3.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.1842, allocations: 0 / 460.2 MB, free: 3.641 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.002187/0.1864, allocations: 1.05 MB / 461.3 MB, free: 2.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1865, allocations: 8.031 kB / 461.3 MB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.365e-05/0.1866, allocations: 74.72 kB / 461.4 MB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.1878, allocations: 144.6 kB / 461.5 MB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.1883, allocations: 331.7 kB / 461.8 MB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.1884, allocations: 33.03 kB / 461.9 MB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/0.1884, allocations: 36.12 kB / 461.9 MB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.1898, allocations: 0.5424 MB / 462.4 MB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1898, allocations: 0 / 462.4 MB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/0.1899, allocations: 16 kB / 462.5 MB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.1899, allocations: 8 kB / 462.5 MB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.1913, allocations: 0.5055 MB / 463 MB, free: 0.7695 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.1639/0.3552, allocations: 2.598 MB / 465.6 MB, free: 66.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.3567, allocations: 431.2 kB / 466 MB, free: 66.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/0.3571, allocations: 169.1 kB / 466.2 MB, free: 66.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006943/0.3578, allocations: 0.5485 MB / 466.7 MB, free: 66.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.3578, allocations: 36.8 kB / 466.7 MB, free: 66.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.794e-06/0.3578, allocations: 4.781 kB / 466.7 MB, free: 66.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004363/0.3622, allocations: 1.5 MB / 468.2 MB, free: 65.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.3622, allocations: 54.81 kB / 468.3 MB, free: 65.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.3625, allocations: 250.5 kB / 468.5 MB, free: 65.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3625, allocations: 30.2 kB / 468.6 MB, free: 65.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.3626, allocations: 194 kB / 468.8 MB, free: 65.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/0.3626, allocations: 122.9 kB / 468.9 MB, free: 65.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3627, allocations: 77.33 kB / 469 MB, free: 65.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.3628, allocations: 339.7 kB / 469.3 MB, free: 64.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.3632, allocations: 142.7 kB / 469.4 MB, free: 64.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.3636, allocations: 233.8 kB / 469.7 MB, free: 64.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007438/0.3643, allocations: 388.9 kB / 470 MB, free: 64.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3643, allocations: 3.125 kB / 470 MB, free: 64.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00111/0.3654, allocations: 0.5094 MB / 470.5 MB, free: 64.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3654, allocations: 5.688 kB / 470.6 MB, free: 64.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3655, allocations: 2.906 kB / 470.6 MB, free: 64.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/0.3659, allocations: 102.9 kB / 470.7 MB, free: 64.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.3662, allocations: 87.16 kB / 470.7 MB, free: 64.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.3676, allocations: 2.513 MB / 473.3 MB, free: 61.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.3679, allocations: 23.98 kB / 473.3 MB, free: 61.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.3679, allocations: 18.73 kB / 473.3 MB, free: 61.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001517/0.368, allocations: 174.9 kB / 473.5 MB, free: 61.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.3681, allocations: 32.11 kB / 473.5 MB, free: 61.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.3698, allocations: 1.312 MB / 474.8 MB, free: 61.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.3698, allocations: 21.69 kB / 474.8 MB, free: 61.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.3698, allocations: 0 / 474.8 MB, free: 61.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001373/0.3712, allocations: 1.425 MB / 476.3 MB, free: 60.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.3734, allocations: 2.112 MB / 478.4 MB, free: 59.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.3734, allocations: 0 / 478.4 MB, free: 59.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.3738, allocations: 87.81 kB / 478.5 MB, free: 59.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002842/0.3741, allocations: 74.66 kB / 478.5 MB, free: 59.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.3741, allocations: 12.33 kB / 478.5 MB, free: 59.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002306/0.3743, allocations: 0.5934 MB / 479.1 MB, free: 58.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3743, allocations: 2.047 kB / 479.1 MB, free: 58.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.3759, allocations: 1.279 MB / 480.4 MB, free: 57.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.002e-05/0.376, allocations: 132.1 kB / 480.5 MB, free: 57.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.3761, allocations: 23.06 kB / 480.6 MB, free: 57.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.3763, allocations: 22.83 kB / 480.6 MB, free: 57.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/0.3764, allocations: 32.05 kB / 480.6 MB, free: 57.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.3764, allocations: 20.53 kB / 480.6 MB, free: 57.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002126/0.3766, allocations: 234.4 kB / 480.9 MB, free: 57.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3766, allocations: 2.594 kB / 480.9 MB, free: 57.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002242/0.3789, allocations: 0.8627 MB / 481.7 MB, free: 57.48 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.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004664/0.3835, allocations: 2.692 MB / 484.4 MB, free: 56.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.3846, allocations: 0.6358 MB / 485.1 MB, free: 55.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.3846, allocations: 4 kB / 485.1 MB, free: 55.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.3851, allocations: 377.9 kB / 485.4 MB, free: 55.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009575/0.3861, allocations: 202.5 kB / 485.6 MB, free: 55.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005468/0.3916, allocations: 4.576 MB / 490.2 MB, free: 52.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.3918, allocations: 0.871 MB / 491.1 MB, free: 51.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002957/0.3921, allocations: 149.7 kB / 491.2 MB, free: 51.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.3922, allocations: 191.4 kB / 491.4 MB, free: 51.49 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3922, allocations: 4 kB / 491.4 MB, free: 51.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06641/0.4587, allocations: 41.51 MB / 0.5204 GB, free: 9.871 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.37, allocations: 8.047 kB / 0.5204 GB, free: 9.863 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_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_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_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_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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: 17.181400865782052]