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.001454/0.001454, allocations: 105.3 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.001643/0.001643, allocations: 188.2 kB / 18.66 MB, free: 4.391 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.445/1.445, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001757/0.001757, allocations: 43.94 kB / 328.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1091, allocations: 46.63 MB / 375.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.2531/0.3623, allocations: 32.56 MB / 407.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03129/0.3936, allocations: 15.74 MB / 423.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000812/0.3945, allocations: 8.688 kB / 423.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.3962, allocations: 271.2 kB / 423.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.3979, allocations: 361.3 kB / 424.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0298/0.4277, allocations: 5.787 MB / 429.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002234/0.43, allocations: 0.9888 MB / 430.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003745/0.4304, allocations: 108.5 kB / 431 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007653/0.4381, allocations: 2.2 MB / 433.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/0.4385, allocations: 306.8 kB / 433.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.986e-05/0.4386, allocations: 40 kB / 433.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01252/0.4511, allocations: 6.076 MB / 439.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.4514, allocations: 107.7 kB / 439.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004912/0.4519, allocations: 231.1 kB / 439.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009693/0.4616, allocations: 3.776 MB / 443.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4617, allocations: 0 / 443.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4617, allocations: 0 / 443.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.433e-05/0.4617, allocations: 4 kB / 443.7 MB, free: 10.96 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.0036/0.4653, allocations: 1.046 MB / 444.8 MB, free: 9.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/0.4654, allocations: 15.89 kB / 444.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.4674, allocations: 148.6 kB / 444.9 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009193/0.4684, allocations: 327.8 kB / 445.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.519e-05/0.4684, allocations: 29.03 kB / 445.3 MB, free: 9.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.4685, allocations: 36.5 kB / 445.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.47, allocations: 0.5463 MB / 445.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.47, allocations: 1.875 kB / 445.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.4701, allocations: 12 kB / 445.9 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.4701, allocations: 12 kB / 445.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.4716, allocations: 0.5016 MB / 446.4 MB, free: 8.172 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.003291/0.4749, allocations: 2.612 MB / 449 MB, free: 5.301 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.4765, allocations: 442.9 kB / 449.4 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004399/0.477, allocations: 168.8 kB / 449.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008384/0.4778, allocations: 0.5641 MB / 450.2 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.4779, allocations: 30.56 kB / 450.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.144e-06/0.4779, allocations: 0 / 450.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005143/0.483, allocations: 1.502 MB / 451.7 MB, free: 2.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.4831, allocations: 63.28 kB / 451.8 MB, free: 2.344 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.4835, allocations: 249 kB / 452 MB, free: 2.094 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.4836, allocations: 29.7 kB / 452 MB, free: 2.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.4838, allocations: 192.5 kB / 452.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.4839, allocations: 122.9 kB / 452.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.484, allocations: 78.08 kB / 452.4 MB, free: 1.664 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4842, allocations: 342.8 kB / 452.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.4846, allocations: 136.8 kB / 452.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.4851, allocations: 238.6 kB / 453.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008462/0.4859, allocations: 398.9 kB / 453.5 MB, free: 496 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.486, allocations: 7.938 kB / 453.5 MB, free: 488 kB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001266/0.4872, allocations: 0.4995 MB / 454 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4873, allocations: 8 kB / 454 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.4873, allocations: 4 kB / 454 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004973/0.4878, allocations: 106.8 kB / 454.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.4881, allocations: 91.88 kB / 454.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.4902, allocations: 2.503 MB / 456.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.4905, allocations: 23.98 kB / 456.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.4906, allocations: 19.98 kB / 456.8 MB, free: 13.01 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.0002183/0.4908, allocations: 170.8 kB / 456.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.033e-05/0.4909, allocations: 31.8 kB / 457 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/0.493, allocations: 1.309 MB / 458.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.493, allocations: 19.97 kB / 458.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.493, allocations: 0 / 458.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001826/0.4949, allocations: 1.436 MB / 459.7 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.4978, allocations: 2.102 MB / 461.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.4978, allocations: 0 / 461.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.4983, allocations: 91.86 kB / 461.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003356/0.4986, allocations: 76.73 kB / 462 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.4986, allocations: 4 kB / 462 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004998/0.4991, allocations: 0.5953 MB / 462.6 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.4992, allocations: 3.984 kB / 462.6 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.5011, allocations: 1.276 MB / 463.9 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.5013, allocations: 136.6 kB / 464 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.007e-05/0.5014, allocations: 23.83 kB / 464 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.5017, allocations: 19.98 kB / 464 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.5018, allocations: 35.94 kB / 464.1 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.5019, allocations: 19.88 kB / 464.1 MB, free: 5.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002754/0.5022, allocations: 239.1 kB / 464.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5022, allocations: 0 / 464.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002695/0.5049, allocations: 0.8579 MB / 465.2 MB, free: 4.32 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.004549/0.5094, allocations: 0.9792 MB / 466.2 MB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.511, allocations: 0.6467 MB / 466.8 MB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.511, allocations: 0 / 466.8 MB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006942/0.5117, allocations: 412.7 kB / 467.2 MB, free: 2.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.513, allocations: 202.5 kB / 467.4 MB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.5151, allocations: 1.273 MB / 468.7 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.5156, allocations: 0.8689 MB / 469.6 MB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003758/0.516, allocations: 159.5 kB / 469.7 MB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.677e-05/0.5161, allocations: 31.44 kB / 469.7 MB, free: 15.69 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5161, allocations: 0 / 469.7 MB, free: 15.69 MB / 398.1 MB Notification: Performance of Templates: time 0.05245/0.5686, allocations: 35.85 MB / 0.4937 GB, free: 11.78 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