Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001507, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001145, allocations: 93 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2914/0.2914, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.666e-05/1.668e-05, allocations: 4.203 kB / 418.2 MB, free: 41.06 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4277, allocations: 58.86 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.748/10.18, allocations: 3.163 GB / 3.629 GB, free: 79.21 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/10.18, allocations: 79.8 kB / 3.629 GB, free: 79.21 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 13.81/23.99, allocations: 3.067 GB / 6.696 GB, free: 50.07 MB / 0.5265 GB Notification: Performance of FrontEnd: time 1.863e-06/23.99, allocations: 1.969 kB / 6.696 GB, free: 50.07 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0003676/23.99, allocations: 66.73 kB / 6.696 GB, free: 50.06 MB / 0.5265 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.01836/24.01, allocations: 3.592 MB / 6.7 GB, free: 48.29 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/24.01, allocations: 10 kB / 6.7 GB, free: 48.29 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/24.01, allocations: 310.2 kB / 6.7 GB, free: 48.15 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009374/24.02, allocations: 2.088 MB / 6.702 GB, free: 47.68 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/24.02, allocations: 147.7 kB / 6.702 GB, free: 47.61 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001215/24.02, allocations: 115.3 kB / 6.702 GB, free: 47.61 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008663/24.03, allocations: 2.848 MB / 6.705 GB, free: 47.6 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/24.04, allocations: 3.027 MB / 6.708 GB, free: 47.12 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/24.04, allocations: 5.25 kB / 6.708 GB, free: 47.12 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007323/24.04, allocations: 6.969 kB / 6.708 GB, free: 47.12 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000387/24.04, allocations: 204.9 kB / 6.708 GB, free: 47.12 MB / 0.5265 GB Warning: The model contains alias variables with conflicting start and/or 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.03292/24.08, allocations: 11.95 MB / 6.72 GB, free: 42.2 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006323/24.08, allocations: 2.167 MB / 6.722 GB, free: 42.05 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003395/24.09, allocations: 1.299 MB / 6.723 GB, free: 42.04 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01621/24.1, allocations: 5.881 MB / 6.729 GB, free: 39.22 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.754e-05/24.1, allocations: 54.03 kB / 6.729 GB, free: 39.18 MB / 0.5265 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002105/24.1, allocations: 123.4 kB / 6.729 GB, free: 39.11 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=172): time 1.679e-05/24.1, allocations: 0 / 6.729 GB, free: 39.11 MB / 0.5265 GB Notification: Performance of matching and sorting (n=198): time 0.04223/24.15, allocations: 8.561 MB / 6.738 GB, free: 38.23 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/24.15, allocations: 126.2 kB / 6.738 GB, free: 38.1 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/24.15, allocations: 1.209 MB / 6.739 GB, free: 37.93 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0006565/24.15, allocations: 28.67 kB / 6.739 GB, free: 37.89 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007426/24.15, allocations: 0.9975 MB / 6.74 GB, free: 37.35 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/24.15, allocations: 0.6504 MB / 6.741 GB, free: 36.92 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/24.15, allocations: 0 / 6.741 GB, free: 36.92 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001806/24.15, allocations: 405.8 kB / 6.741 GB, free: 36.61 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002781/24.16, allocations: 1.158 MB / 6.742 GB, free: 36.6 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003427/24.16, allocations: 1.656 MB / 6.744 GB, free: 36.05 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02521/24.18, allocations: 3.795 MB / 6.747 GB, free: 35.48 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.204e-05/24.18, allocations: 2.938 kB / 6.747 GB, free: 35.48 MB / 0.5265 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.03315/24.22, allocations: 5.953 MB / 6.753 GB, free: 34.05 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.001238/24.22, allocations: 5.664 MB / 6.759 GB, free: 28.05 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.066e-05/24.22, allocations: 14.88 kB / 6.759 GB, free: 28.05 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004821/24.22, allocations: 0.9613 MB / 6.76 GB, free: 27.79 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004031/24.23, allocations: 472.1 kB / 6.76 GB, free: 27.75 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/24.24, allocations: 10.48 MB / 6.77 GB, free: 18.93 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004468/24.25, allocations: 149.6 kB / 6.771 GB, free: 18.91 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009132/24.25, allocations: 113.5 kB / 6.771 GB, free: 18.89 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/24.25, allocations: 3.781 kB / 6.771 GB, free: 18.89 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03165/24.28, allocations: 5.5 MB / 6.776 GB, free: 17.59 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-05/24.28, allocations: 20.92 kB / 6.776 GB, free: 17.59 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003512/24.28, allocations: 0.7931 MB / 6.777 GB, free: 17.36 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004455/24.29, allocations: 0.4894 MB / 6.777 GB, free: 17.13 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01672/24.3, allocations: 10.05 MB / 6.787 GB, free: 23.05 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004913/24.31, allocations: 140.7 kB / 6.787 GB, free: 22.96 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005725/24.31, allocations: 108 kB / 6.787 GB, free: 22.86 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {5 14,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001186/24.31, allocations: 163.3 kB / 6.787 GB, free: 22.7 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008262/24.31, allocations: 203.6 kB / 6.788 GB, free: 22.5 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0147/24.33, allocations: 4.075 MB / 6.792 GB, free: 19.24 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.954e-05/24.33, allocations: 27.94 kB / 6.792 GB, free: 19.21 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/24.33, allocations: 3.844 kB / 6.792 GB, free: 19.21 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01223/24.34, allocations: 3.542 MB / 6.795 GB, free: 16.17 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02147/24.36, allocations: 6.255 MB / 6.801 GB, free: 11.24 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/24.36, allocations: 3.375 kB / 6.801 GB, free: 11.24 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003123/24.36, allocations: 323.8 kB / 6.802 GB, free: 10.97 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005486/24.37, allocations: 1.016 MB / 6.803 GB, free: 10.22 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005129/24.37, allocations: 51.66 kB / 6.803 GB, free: 10.18 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4413/24.81, allocations: 10.33 MB / 6.813 GB, free: 58.65 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/24.81, allocations: 1.219 kB / 6.813 GB, free: 58.65 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/24.83, allocations: 5.283 MB / 6.818 GB, free: 58.41 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002528/24.83, allocations: 0.5965 MB / 6.818 GB, free: 58.32 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007275/24.83, allocations: 22.73 kB / 6.818 GB, free: 58.32 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003057/24.83, allocations: 110.5 kB / 6.819 GB, free: 58.32 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000615/24.84, allocations: 172.3 kB / 6.819 GB, free: 58.31 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003364/24.84, allocations: 80.7 kB / 6.819 GB, free: 58.31 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.002127/24.84, allocations: 0.8826 MB / 6.82 GB, free: 58.2 MB / 0.5421 GB Notification: Performance of sort global known variables: time 6.11e-07/24.84, allocations: 0 / 6.82 GB, free: 58.2 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01102/24.85, allocations: 1.863 MB / 6.821 GB, free: 58.2 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.medium.T,tank.level,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,5 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.005106/24.85, allocations: 1.354 MB / 6.823 GB, free: 58.1 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.01724/24.87, allocations: 5.752 MB / 6.828 GB, free: 57.05 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/24.87, allocations: 1.125 kB / 6.828 GB, free: 57.05 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.006406/24.88, allocations: 2.118 MB / 6.83 GB, free: 56.53 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00783/24.89, allocations: 0.8191 MB / 6.831 GB, free: 56.52 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/24.9, allocations: 4.604 MB / 6.836 GB, free: 55.64 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001802/24.9, allocations: 1.922 MB / 6.838 GB, free: 54.88 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/24.9, allocations: 219.9 kB / 6.838 GB, free: 54.88 MB / 0.5421 GB Notification: Performance of SimCode: time 1.403e-06/24.9, allocations: 0 / 6.838 GB, free: 54.88 MB / 0.5421 GB Notification: Performance of Templates: time 0.1773/25.08, allocations: 118.5 MB / 6.954 GB, free: 31.23 MB / 0.5421 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestExamplesVariants/HeatingSystem_FixedInitial/HeatingSystem_FixedInitial.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches