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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 113.2 kB / 17.73 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 184.2 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB 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.001311/0.001311, allocations: 51.94 kB / 328.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0934/0.09473, allocations: 46.62 MB / 375.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.2635/0.3583, allocations: 32.57 MB / 407.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02107/0.3794, allocations: 15.73 MB / 423.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005182/0.3801, allocations: 4.375 kB / 423.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.3812, allocations: 272.8 kB / 423.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009454/0.3821, allocations: 365.7 kB / 424.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02164/0.4038, allocations: 5.797 MB / 429.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00175/0.4055, allocations: 0.9862 MB / 430.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.4058, allocations: 116.7 kB / 431 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006274/0.4121, allocations: 2.208 MB / 433.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005145/0.4126, allocations: 306.8 kB / 433.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.4127, allocations: 40 kB / 433.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01238/0.4251, allocations: 6.072 MB / 439.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.4254, allocations: 115.6 kB / 439.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004577/0.4258, allocations: 219.2 kB / 440 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009253/0.4351, allocations: 3.774 MB / 443.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.4352, allocations: 0 / 443.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.4352, allocations: 0 / 443.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.4352, allocations: 0 / 443.7 MB, free: 10.95 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.002967/0.4382, allocations: 1.022 MB / 444.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.4382, allocations: 15.89 kB / 444.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.4395, allocations: 148.3 kB / 444.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.44, allocations: 327.6 kB / 445.2 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/0.4401, allocations: 25.03 kB / 445.3 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.4401, allocations: 36.56 kB / 445.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.4416, allocations: 0.5463 MB / 445.8 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.4416, allocations: 4 kB / 445.8 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.4417, allocations: 12 kB / 445.9 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.4417, allocations: 8 kB / 445.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.4432, allocations: 0.5055 MB / 446.4 MB, free: 8.191 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.003263/0.4464, allocations: 2.612 MB / 449 MB, free: 5.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.448, allocations: 442.3 kB / 449.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/0.4484, allocations: 161.6 kB / 449.6 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008706/0.4493, allocations: 0.5641 MB / 450.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.722e-05/0.4494, allocations: 38.56 kB / 450.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.725e-06/0.4494, allocations: 0 / 450.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.004938/0.4543, allocations: 1.494 MB / 451.7 MB, free: 2.445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.4544, allocations: 63.34 kB / 451.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.4547, allocations: 252.9 kB / 452 MB, free: 2.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.4548, allocations: 29.7 kB / 452 MB, free: 2.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.4549, allocations: 188.1 kB / 452.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.455, allocations: 110.3 kB / 452.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.4552, allocations: 82.11 kB / 452.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4553, allocations: 334.8 kB / 452.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.4557, allocations: 148.8 kB / 452.9 MB, free: 1.219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/0.4562, allocations: 237.7 kB / 453.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008723/0.4571, allocations: 394.9 kB / 453.5 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4571, allocations: 4 kB / 453.5 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00131/0.4584, allocations: 0.4993 MB / 454 MB, free: 0 / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.4585, allocations: 8.047 kB / 454 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.4585, allocations: 4.344 kB / 454 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005082/0.459, allocations: 110.4 kB / 454.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.4594, allocations: 87.83 kB / 454.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.4615, allocations: 2.507 MB / 456.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.4618, allocations: 19.98 kB / 456.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.4618, allocations: 32.11 kB / 456.7 MB, free: 13.04 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.0001842/0.462, allocations: 157.7 kB / 456.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.471e-05/0.4621, allocations: 31.66 kB / 456.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.4641, allocations: 1.317 MB / 458.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.4641, allocations: 11.98 kB / 458.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-06/0.4641, allocations: 4 kB / 458.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001856/0.466, allocations: 1.428 MB / 459.7 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.469, allocations: 2.101 MB / 461.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.4691, allocations: 4 kB / 461.8 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.4695, allocations: 91.84 kB / 461.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003494/0.4698, allocations: 68.8 kB / 461.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.4699, allocations: 11.94 kB / 462 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004067/0.4703, allocations: 0.5991 MB / 462.6 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4703, allocations: 3.938 kB / 462.6 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.4722, allocations: 1.272 MB / 463.8 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.4723, allocations: 128.4 kB / 464 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.4724, allocations: 23.78 kB / 464 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.4727, allocations: 31.97 kB / 464 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.4728, allocations: 31.95 kB / 464 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.4728, allocations: 12 kB / 464.1 MB, free: 5.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002617/0.4731, allocations: 235 kB / 464.3 MB, free: 5.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4731, allocations: 0 / 464.3 MB, free: 5.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003409/0.4765, allocations: 0.859 MB / 465.1 MB, free: 4.371 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.00455/0.4811, allocations: 0.9628 MB / 466.1 MB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.4825, allocations: 0.6499 MB / 466.8 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4825, allocations: 0 / 466.8 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006649/0.4832, allocations: 417.3 kB / 467.2 MB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.4844, allocations: 195.6 kB / 467.4 MB, free: 2.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.4865, allocations: 1.258 MB / 468.6 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.487, allocations: 0.8728 MB / 469.5 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003751/0.4873, allocations: 156 kB / 469.6 MB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.192e-05/0.4874, allocations: 31.44 kB / 469.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4875, allocations: 0 / 469.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of Templates: time 0.04882/0.5363, allocations: 35.84 MB / 0.4937 GB, free: 11.88 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/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/jenkins/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) Reference file matches