Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 108 kB / 17.09 MB, free: 5.789 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.001439/0.001439, allocations: 194.1 kB / 18.02 MB, free: 4.918 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.401/1.401, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.1987/0.1987, 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.001378/0.001378, allocations: 75.89 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1054, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04176/0.1472, allocations: 39.03 MB / 0.5267 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2812/0.4285, allocations: 20.15 MB / 0.5464 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.4298, allocations: 21 kB / 0.5464 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.4314, allocations: 449.8 kB / 0.5468 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01802/0.4495, allocations: 5.099 MB / 0.5518 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008394/0.4579, allocations: 2.565 MB / 0.5543 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003301/0.4612, allocations: 1.999 MB / 0.5562 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008792/0.4622, allocations: 0.4963 MB / 0.5567 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009819/0.472, allocations: 4.163 MB / 0.5608 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01066/0.4827, allocations: 5.432 MB / 0.5661 GB, free: 15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000324/0.483, allocations: 71.81 kB / 0.5662 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01931/0.5024, allocations: 7.379 MB / 0.5734 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009639/0.5034, allocations: 283.7 kB / 0.5736 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.5044, allocations: 460.7 kB / 0.5741 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0154/0.5198, allocations: 5.111 MB / 0.5791 GB, free: 8.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.5199, allocations: 11.03 kB / 0.5791 GB, free: 8.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5199, allocations: 0 / 0.5791 GB, free: 8.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.5199, allocations: 0 / 0.5791 GB, free: 8.234 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.004751/0.5247, allocations: 1.66 MB / 0.5807 GB, free: 7.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.5247, allocations: 14.45 kB / 0.5807 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.527, allocations: 302.2 kB / 0.581 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00095/0.5279, allocations: 0.5873 MB / 0.5816 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.5281, allocations: 109.3 kB / 0.5817 GB, free: 6.184 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.5282, allocations: 56.38 kB / 0.5817 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/0.5305, allocations: 1.164 MB / 0.5829 GB, free: 4.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.5306, allocations: 6.703 kB / 0.5829 GB, free: 4.879 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.569e-05/0.5307, allocations: 30.59 kB / 0.5829 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-05/0.5307, allocations: 49.28 kB / 0.583 GB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.5324, allocations: 0.844 MB / 0.5838 GB, free: 3.965 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.006418/0.5389, allocations: 5.494 MB / 0.5891 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.5402, allocations: 0.5769 MB / 0.5897 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003736/0.5406, allocations: 225.6 kB / 0.5899 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09725/0.6379, allocations: 46.39 MB / 0.6352 GB, free: 9.629 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.45e-05/0.638, allocations: 38.56 kB / 0.6353 GB, free: 9.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 4.458e-06/0.638, allocations: 0 / 0.6353 GB, free: 9.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=46): time 0.00689/0.6449, allocations: 1.926 MB / 0.6371 GB, free: 7.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.6451, allocations: 162.2 kB / 0.6373 GB, free: 7.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.6463, allocations: 0.6287 MB / 0.6379 GB, free: 6.777 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.6464, allocations: 37.7 kB / 0.638 GB, free: 6.734 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/0.6468, allocations: 380.6 kB / 0.6383 GB, free: 6.363 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.6471, allocations: 173.4 kB / 0.6385 GB, free: 6.195 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.6474, allocations: 158.5 kB / 0.6386 GB, free: 6.035 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.6476, allocations: 378.8 kB / 0.639 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.648, allocations: 221.9 kB / 0.6392 GB, free: 5.441 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/0.6487, allocations: 0.5795 MB / 0.6398 GB, free: 4.703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.65, allocations: 0.8293 MB / 0.6406 GB, free: 3.719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.65, allocations: 4 kB / 0.6406 GB, free: 3.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001739/0.6517, allocations: 0.8715 MB / 0.6414 GB, free: 2.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.6518, allocations: 12 kB / 0.6414 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.6518, allocations: 12 kB / 0.6415 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/0.6521, allocations: 60.83 kB / 0.6415 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.6534, allocations: 284.2 kB / 0.6418 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.6554, allocations: 2.077 MB / 0.6438 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/0.656, allocations: 31.94 kB / 0.6438 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.349e-05/0.6561, allocations: 43.94 kB / 0.6439 GB, free: 164 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.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.0005091/0.6567, allocations: 273.3 kB / 0.6441 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.6569, allocations: 79.39 kB / 0.6442 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002968/0.6599, allocations: 2.209 MB / 0.6464 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.6599, allocations: 3.984 kB / 0.6464 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6599, allocations: 0 / 0.6464 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/0.6603, allocations: 243.4 kB / 0.6466 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.6605, allocations: 23.78 kB / 0.6466 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/0.6611, allocations: 39.98 kB / 0.6467 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.6612, allocations: 32.39 kB / 0.6467 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002444/0.6637, allocations: 1.408 MB / 0.6481 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002352/0.6661, allocations: 1.922 MB / 0.65 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000649/0.6667, allocations: 0.5437 MB / 0.6505 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007384/0.6675, allocations: 0.5147 MB / 0.651 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of Backend: time 6.01e-07/0.6675, allocations: 0 / 0.651 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009944/0.6774, allocations: 2.051 MB / 0.653 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of SimCode: time 0.004229/0.6817, allocations: 2.392 MB / 0.6553 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of Templates: time 0.08523/0.767, allocations: 51.55 MB / 0.7057 GB, free: 0.9336 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches