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.0009878/0.0009879, allocations: 96.36 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 179.8 kB / 16.57 MB, free: 6.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.335/1.335, allocations: 205.4 MB / 222.7 MB, free: 5.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3636/0.3636, allocations: 43.54 MB / 314.5 MB, free: 8.766 MB / 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.000499/0.0004991, allocations: 12 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1273, allocations: 58.87 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.285/0.4123, allocations: 33.11 MB / 475.9 MB, free: 31.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01986/0.4323, allocations: 17.21 MB / 493.1 MB, free: 19.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.4336, allocations: 21 kB / 493.1 MB, free: 19.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.4349, allocations: 390.5 kB / 493.5 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01322/0.4481, allocations: 3.987 MB / 497.5 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007243/0.4554, allocations: 2.108 MB / 499.6 MB, free: 16.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002845/0.4583, allocations: 1.174 MB / 0.489 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008203/0.4591, allocations: 419.7 kB / 0.4894 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01251/0.4716, allocations: 6.295 MB / 0.4956 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01632/0.488, allocations: 8.765 MB / 0.5041 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003614/0.4884, allocations: 43.94 kB / 0.5042 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01668/0.5051, allocations: 7.173 MB / 0.5112 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005519/0.5057, allocations: 231.4 kB / 0.5114 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004552/0.5062, allocations: 189.3 kB / 0.5116 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008834/0.515, allocations: 3.461 MB / 0.515 GB, free: 6.398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5151, allocations: 0 / 0.515 GB, free: 6.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.5151, allocations: 4 kB / 0.515 GB, free: 6.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.5151, allocations: 0 / 0.515 GB, free: 6.395 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003837/0.5189, allocations: 1.496 MB / 0.5164 GB, free: 4.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.519, allocations: 12.03 kB / 0.5164 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.521, allocations: 314.7 kB / 0.5167 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008445/0.5219, allocations: 0.5394 MB / 0.5173 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.264e-05/0.522, allocations: 119.4 kB / 0.5174 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-05/0.5221, allocations: 59.95 kB / 0.5174 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.5241, allocations: 1.158 MB / 0.5186 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.644e-05/0.5241, allocations: 7.984 kB / 0.5186 GB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/0.5242, allocations: 31.98 kB / 0.5186 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.91e-05/0.5243, allocations: 41.3 kB / 0.5186 GB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.5258, allocations: 0.844 MB / 0.5195 GB, free: 1.586 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.006781/0.5326, allocations: 5.508 MB / 0.5248 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.5338, allocations: 0.5758 MB / 0.5254 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0924/0.6262, allocations: 46.62 MB / 0.5709 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.647e-05/0.6264, allocations: 34.56 kB / 0.571 GB, free: 7.137 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 3.076e-06/0.6264, allocations: 4 kB / 0.571 GB, free: 7.133 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.00597/0.6324, allocations: 1.95 MB / 0.5729 GB, free: 5.133 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.6325, allocations: 162.2 kB / 0.573 GB, free: 4.938 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008992/0.6334, allocations: 0.6132 MB / 0.5736 GB, free: 4.316 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.929e-05/0.6335, allocations: 37.73 kB / 0.5737 GB, free: 4.273 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.6338, allocations: 387.2 kB / 0.574 GB, free: 3.887 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.634, allocations: 173.6 kB / 0.5742 GB, free: 3.715 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.634, allocations: 16 kB / 0.5742 GB, free: 3.699 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6342, allocations: 378.7 kB / 0.5746 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.6346, allocations: 225.9 kB / 0.5748 GB, free: 3.098 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.6352, allocations: 0.5639 MB / 0.5753 GB, free: 2.367 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.6358, allocations: 328.6 kB / 0.5757 GB, free: 2.051 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/0.6358, allocations: 4 kB / 0.5757 GB, free: 2.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001494/0.6373, allocations: 0.8675 MB / 0.5765 GB, free: 1.168 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.6373, allocations: 11.98 kB / 0.5765 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.6374, allocations: 12 kB / 0.5765 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003279/0.6377, allocations: 64.83 kB / 0.5766 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.6389, allocations: 283.5 kB / 0.5769 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.6406, allocations: 1.98 MB / 0.5788 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007296/0.6413, allocations: 60 kB / 0.5789 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.988e-05/0.6414, allocations: 40 kB / 0.5789 GB, free: 14.57 MB / 462.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004795/0.6419, allocations: 273.4 kB / 0.5792 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.6421, allocations: 79.09 kB / 0.5792 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/0.6448, allocations: 2.221 MB / 0.5814 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/0.6448, allocations: 28 kB / 0.5814 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.6448, allocations: 3.984 kB / 0.5814 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.6448, allocations: 12.02 kB / 0.5814 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004366/0.6492, allocations: 3.285 MB / 0.5846 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.6492, allocations: 0 / 0.5846 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009096/0.6501, allocations: 188.5 kB / 0.5848 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003909/0.6506, allocations: 92.69 kB / 0.5849 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.6506, allocations: 15.98 kB / 0.5849 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/0.6522, allocations: 1.994 MB / 0.5869 GB, free: 6.137 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.6522, allocations: 4.375 kB / 0.5869 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.6547, allocations: 1.995 MB / 0.5888 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005737/0.6553, allocations: 283.2 kB / 0.5891 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.6554, allocations: 15.95 kB / 0.5891 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006948/0.6561, allocations: 63.86 kB / 0.5892 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.6562, allocations: 32.39 kB / 0.5892 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/0.6563, allocations: 27.98 kB / 0.5892 GB, free: 3.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007062/0.657, allocations: 0.5068 MB / 0.5897 GB, free: 3.168 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.657, allocations: 0 / 0.5897 GB, free: 3.168 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003763/0.6608, allocations: 1.085 MB / 0.5908 GB, free: 2.082 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006112/0.6669, allocations: 1.211 MB / 0.592 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002612/0.6696, allocations: 0.924 MB / 0.5929 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.6696, allocations: 8 kB / 0.5929 GB, free: 15.94 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.671, allocations: 0.6715 MB / 0.5935 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.6733, allocations: 367.7 kB / 0.5939 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.6777, allocations: 2.697 MB / 0.5965 GB, free: 12.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009641/0.6787, allocations: 1.141 MB / 0.5976 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001181/0.6799, allocations: 449.4 kB / 0.5981 GB, free: 10.57 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.6801, allocations: 67.44 kB / 0.5981 GB, free: 10.51 MB / 478.1 MB Notification: Performance of SimCode: time 1.38e-05/0.6801, allocations: 0 / 0.5981 GB, free: 10.51 MB / 478.1 MB Notification: Performance of Templates: time 0.283/0.9631, allocations: 45.2 MB / 0.6423 GB, free: 163.7 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../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