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.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.001816/0.001816, allocations: 120.2 kB / 21.94 MB, free: 8 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.001578/0.001578, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.465/1.465, allocations: 207.6 MB / 236 MB, free: 9.98 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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") [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.001877/0.001877, allocations: 51.92 kB / 348.5 MB, free: 9.488 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3279, allocations: 49.17 MB / 397.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.0364/0.3643, allocations: 33.04 MB / 430.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02242/0.3867, allocations: 15.86 MB / 446.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000532/0.3872, allocations: 7.938 kB / 446.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.3883, allocations: 270.4 kB / 446.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.3896, allocations: 365.9 kB / 447.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02202/0.4116, allocations: 5.795 MB / 453 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002157/0.4138, allocations: 1.005 MB / 454 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000345/0.4141, allocations: 85.17 kB / 454.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007055/0.4212, allocations: 2.224 MB / 456.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009174/0.4221, allocations: 318.8 kB / 456.6 MB, free: 8.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.4223, allocations: 40 kB / 456.6 MB, free: 8.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01658/0.4388, allocations: 6.08 MB / 462.7 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.4391, allocations: 119.6 kB / 462.8 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004262/0.4395, allocations: 223.1 kB / 463.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.4499, allocations: 3.792 MB / 466.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.4499, allocations: 0 / 466.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4499, allocations: 0 / 466.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.411e-05/0.4499, allocations: 0 / 466.8 MB, free: 13.99 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.00315/0.4531, allocations: 0.9706 MB / 467.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.4531, allocations: 23.97 kB / 467.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.4545, allocations: 140.6 kB / 468 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.4552, allocations: 265.9 kB / 468.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/0.4552, allocations: 33.03 kB / 468.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.4553, allocations: 32.38 kB / 468.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.4568, allocations: 0.5464 MB / 468.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.4568, allocations: 3.984 kB / 468.9 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.4569, allocations: 16 kB / 468.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.4569, allocations: 8 kB / 468.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.4584, allocations: 0.4981 MB / 469.4 MB, free: 11.37 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.003453/0.4619, allocations: 2.499 MB / 471.9 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.4634, allocations: 430.3 kB / 472.3 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/0.4638, allocations: 160.8 kB / 472.4 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006575/0.4644, allocations: 188.1 kB / 472.6 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.4645, allocations: 46.55 kB / 472.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.405e-06/0.4645, allocations: 0 / 472.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004855/0.4693, allocations: 1.355 MB / 474 MB, free: 6.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.4694, allocations: 55.41 kB / 474.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.4697, allocations: 249 kB / 474.3 MB, free: 6.094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.4698, allocations: 29.7 kB / 474.4 MB, free: 6.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.4699, allocations: 192.5 kB / 474.5 MB, free: 5.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.47, allocations: 111 kB / 474.7 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.4702, allocations: 90.02 kB / 474.7 MB, free: 5.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4703, allocations: 338.8 kB / 475.1 MB, free: 5.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.4707, allocations: 140.8 kB / 475.2 MB, free: 5.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/0.4712, allocations: 231.4 kB / 475.4 MB, free: 4.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008726/0.472, allocations: 398.8 kB / 475.8 MB, free: 4.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4721, allocations: 4 kB / 475.8 MB, free: 4.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001299/0.4734, allocations: 0.5073 MB / 476.3 MB, free: 3.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.4734, allocations: 8 kB / 476.3 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4734, allocations: 3.938 kB / 476.3 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005177/0.4739, allocations: 102.9 kB / 476.4 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.4743, allocations: 91.81 kB / 476.5 MB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.4765, allocations: 2.415 MB / 479 MB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.4769, allocations: 23.98 kB / 479 MB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/0.4769, allocations: 23.98 kB / 479 MB, free: 1.121 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.0002501/0.4772, allocations: 157.7 kB / 479.2 MB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.452e-05/0.4773, allocations: 31.91 kB / 479.2 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.4794, allocations: 1.371 MB / 480.6 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.4794, allocations: 19.97 kB / 480.6 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.4794, allocations: 0 / 480.6 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001922/0.4813, allocations: 1.464 MB / 482 MB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.4844, allocations: 2.128 MB / 484.2 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.4844, allocations: 0 / 484.2 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.4848, allocations: 91.86 kB / 484.3 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003517/0.4851, allocations: 72.81 kB / 484.3 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.4852, allocations: 15.98 kB / 484.3 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004808/0.4857, allocations: 0.5991 MB / 484.9 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4857, allocations: 0 / 484.9 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.4877, allocations: 1.311 MB / 486.3 MB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.4879, allocations: 63.48 kB / 486.3 MB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.4879, allocations: 19.84 kB / 486.3 MB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.4882, allocations: 19.98 kB / 486.4 MB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4883, allocations: 35.94 kB / 486.4 MB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.4883, allocations: 11.98 kB / 486.4 MB, free: 9.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002861/0.4886, allocations: 239 kB / 486.6 MB, free: 9.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4886, allocations: 8 kB / 486.6 MB, free: 9.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003002/0.4916, allocations: 0.8579 MB / 487.5 MB, free: 8.391 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.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.004649/0.4963, allocations: 0.9853 MB / 488.5 MB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.4978, allocations: 0.6388 MB / 489.1 MB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4978, allocations: 3.938 kB / 489.1 MB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007062/0.4985, allocations: 382 kB / 489.5 MB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.4997, allocations: 200.8 kB / 489.7 MB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.5021, allocations: 1.316 MB / 491 MB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.5027, allocations: 0.8727 MB / 491.9 MB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.5028, allocations: 39.42 kB / 491.9 MB, free: 3.875 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5028, allocations: 7.938 kB / 491.9 MB, free: 3.867 MB / 398.1 MB Notification: Performance of Templates: time 0.04047/0.5433, allocations: 24.57 MB / 0.5044 GB, free: 11.25 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_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_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 10.359997630817816]