Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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.001179/0.001179, allocations: 113.2 kB / 17.09 MB, free: 5.965 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.001467/0.001468, allocations: 194.9 kB / 18.02 MB, free: 5.047 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.413/1.413, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2121/0.2121, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.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.001767/0.001767, allocations: 71.89 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1282, allocations: 57.78 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04286/0.1711, allocations: 39.04 MB / 0.5267 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3329/0.5041, allocations: 20.15 MB / 0.5464 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009414/0.505, allocations: 18.41 kB / 0.5464 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.5066, allocations: 446.9 kB / 0.5468 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0189/0.5255, allocations: 5.106 MB / 0.5518 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008968/0.5345, allocations: 2.557 MB / 0.5543 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003681/0.5382, allocations: 1.978 MB / 0.5562 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000792/0.539, allocations: 0.4937 MB / 0.5567 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01133/0.5504, allocations: 4.167 MB / 0.5608 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01145/0.5619, allocations: 5.438 MB / 0.5661 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003231/0.5622, allocations: 70.22 kB / 0.5661 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01876/0.581, allocations: 7.379 MB / 0.5734 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008344/0.5819, allocations: 287.6 kB / 0.5736 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.5832, allocations: 442.7 kB / 0.5741 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01623/0.5994, allocations: 5.114 MB / 0.579 GB, free: 8.488 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.5995, allocations: 3.938 kB / 0.579 GB, free: 8.484 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5995, allocations: 0 / 0.579 GB, free: 8.484 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.432e-05/0.5996, allocations: 0 / 0.579 GB, free: 8.484 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005973/0.6056, allocations: 1.68 MB / 0.5807 GB, free: 7.324 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.6056, allocations: 8.344 kB / 0.5807 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.608, allocations: 305.2 kB / 0.581 GB, free: 7.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.6092, allocations: 0.5845 MB / 0.5816 GB, free: 6.492 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.6093, allocations: 116.1 kB / 0.5817 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.6094, allocations: 56.75 kB / 0.5817 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.6122, allocations: 1.194 MB / 0.5829 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.6123, allocations: 0 / 0.5829 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.689e-05/0.6123, allocations: 35.59 kB / 0.5829 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.7e-05/0.6124, allocations: 49.23 kB / 0.583 GB, free: 4.961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/0.615, allocations: 1.023 MB / 0.584 GB, free: 3.938 MB / 430.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.006795/0.6218, allocations: 5.603 MB / 0.5894 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.6241, allocations: 0.7601 MB / 0.5902 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/0.6248, allocations: 297.8 kB / 0.5905 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03443/0.6592, allocations: 15.92 MB / 0.606 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/0.6593, allocations: 42.56 kB / 0.6061 GB, free: 11.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=45): time 3.406e-06/0.6593, allocations: 0 / 0.6061 GB, free: 11.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=49): time 0.007597/0.6669, allocations: 2.279 MB / 0.6083 GB, free: 8.758 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.815e-05/0.6671, allocations: 158.7 kB / 0.6084 GB, free: 8.566 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.6681, allocations: 0.6015 MB / 0.609 GB, free: 7.965 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.633e-05/0.6682, allocations: 37.7 kB / 0.6091 GB, free: 7.922 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.6685, allocations: 389.9 kB / 0.6094 GB, free: 7.539 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.6687, allocations: 177.3 kB / 0.6096 GB, free: 7.367 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.669, allocations: 154.5 kB / 0.6097 GB, free: 7.211 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.6691, allocations: 378.8 kB / 0.6101 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006421/0.6698, allocations: 285.7 kB / 0.6104 GB, free: 6.555 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008627/0.6707, allocations: 0.6122 MB / 0.611 GB, free: 5.793 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.6722, allocations: 0.8909 MB / 0.6118 GB, free: 4.758 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.6722, allocations: 4 kB / 0.6119 GB, free: 4.754 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00199/0.6742, allocations: 0.9644 MB / 0.6128 GB, free: 3.781 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.6743, allocations: 14.59 kB / 0.6128 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.6743, allocations: 12 kB / 0.6128 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003003/0.6746, allocations: 61.52 kB / 0.6129 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.6759, allocations: 299.6 kB / 0.6132 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.6777, allocations: 2.083 MB / 0.6152 GB, free: 1.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/0.6784, allocations: 48.19 kB / 0.6152 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-05/0.6784, allocations: 40 kB / 0.6153 GB, free: 1.074 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0004145/0.6789, allocations: 281.2 kB / 0.6156 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.6791, allocations: 71.16 kB / 0.6156 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/0.6824, allocations: 2.544 MB / 0.6181 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.6824, allocations: 7.984 kB / 0.6181 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6824, allocations: 0 / 0.6181 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.6828, allocations: 255.2 kB / 0.6184 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.683, allocations: 39.53 kB / 0.6184 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/0.6836, allocations: 51.94 kB / 0.6184 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.6837, allocations: 49.12 kB / 0.6185 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002926/0.6867, allocations: 1.621 MB / 0.6201 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003207/0.6899, allocations: 2.262 MB / 0.6223 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008809/0.6908, allocations: 0.6579 MB / 0.6229 GB, free: 9.191 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008202/0.6916, allocations: 0.5615 MB / 0.6235 GB, free: 8.629 MB / 478.1 MB Notification: Performance of Backend: time 6.32e-07/0.6916, allocations: 0 / 0.6235 GB, free: 8.629 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009949/0.7016, allocations: 2.123 MB / 0.6255 GB, free: 6.641 MB / 478.1 MB Notification: Performance of SimCode: time 0.004296/0.7059, allocations: 2.539 MB / 0.628 GB, free: 4.059 MB / 478.1 MB Notification: Performance of Templates: time 0.08145/0.7874, allocations: 52.33 MB / 0.6791 GB, free: 15.74 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches