Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009243/0.0009242, allocations: 92.45 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1868/0.1868, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.421e-05/1.425e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1203, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.079/8.2, allocations: 3.17 GB / 3.665 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/8.2, allocations: 77.75 kB / 3.665 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 11.29/19.49, allocations: 3.078 GB / 6.743 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.854e-06/19.49, allocations: 0 / 6.743 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002013/19.49, allocations: 67.77 kB / 6.743 GB, free: 0.7383 MB / 0.5573 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.4166/19.91, allocations: 3.588 MB / 6.746 GB, free: 57.52 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/19.91, allocations: 12.3 kB / 6.746 GB, free: 57.52 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/19.91, allocations: 312.9 kB / 6.746 GB, free: 57.37 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009021/19.92, allocations: 2.082 MB / 6.748 GB, free: 56.92 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/19.92, allocations: 153.3 kB / 6.749 GB, free: 56.85 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001332/19.92, allocations: 116.5 kB / 6.749 GB, free: 56.85 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007577/19.93, allocations: 2.849 MB / 6.751 GB, free: 56.84 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007191/19.94, allocations: 3.032 MB / 6.754 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.959e-05/19.94, allocations: 9.703 kB / 6.754 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003085/19.94, allocations: 11.14 kB / 6.754 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002776/19.94, allocations: 197.6 kB / 6.755 GB, free: 56.35 MB / 0.5573 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.02484/19.96, allocations: 11.95 MB / 6.766 GB, free: 51.47 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00516/19.97, allocations: 2.157 MB / 6.768 GB, free: 51.34 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003032/19.97, allocations: 1.299 MB / 6.77 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/19.98, allocations: 5.878 MB / 6.775 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/19.98, allocations: 56.19 kB / 6.775 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001291/19.99, allocations: 127.4 kB / 6.776 GB, free: 48.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 5.941e-06/19.99, allocations: 0 / 6.776 GB, free: 48.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=198): time 0.02604/20.01, allocations: 8.566 MB / 6.784 GB, free: 47.52 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/20.01, allocations: 126.3 kB / 6.784 GB, free: 47.39 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/20.01, allocations: 1.207 MB / 6.785 GB, free: 47.21 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003811/20.01, allocations: 26.64 kB / 6.785 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000569/20.01, allocations: 1.045 MB / 6.786 GB, free: 46.71 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005879/20.02, allocations: 0.6549 MB / 6.787 GB, free: 46.27 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/20.02, allocations: 0 / 6.787 GB, free: 46.27 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000125/20.02, allocations: 398.4 kB / 6.787 GB, free: 45.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/20.02, allocations: 1.162 MB / 6.788 GB, free: 45.96 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/20.02, allocations: 1.656 MB / 6.79 GB, free: 45.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006669/20.03, allocations: 2.366 MB / 6.792 GB, free: 45.39 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.112e-05/20.03, allocations: 3.281 kB / 6.792 GB, free: 45.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01161/20.04, allocations: 4.608 MB / 6.797 GB, free: 45.13 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001083/20.04, allocations: 5.783 MB / 6.803 GB, free: 39.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/20.04, allocations: 19.73 kB / 6.803 GB, free: 39.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002584/20.04, allocations: 0.9643 MB / 6.804 GB, free: 39.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/20.04, allocations: 471.8 kB / 6.804 GB, free: 39.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008941/20.05, allocations: 10.48 MB / 6.814 GB, free: 31.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/20.06, allocations: 153.8 kB / 6.814 GB, free: 31.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004715/20.06, allocations: 109.6 kB / 6.814 GB, free: 31.54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/20.06, allocations: 3.656 kB / 6.814 GB, free: 31.54 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01005/20.07, allocations: 4.078 MB / 6.818 GB, free: 31.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.325e-05/20.07, allocations: 14.34 kB / 6.818 GB, free: 31.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002139/20.07, allocations: 0.8055 MB / 6.819 GB, free: 31.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/20.07, allocations: 499.3 kB / 6.82 GB, free: 31.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008038/20.08, allocations: 10.05 MB / 6.83 GB, free: 23.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003459/20.08, allocations: 147.2 kB / 6.83 GB, free: 23.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005226/20.08, allocations: 105.2 kB / 6.83 GB, free: 23.72 MB / 0.5573 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.0008975/20.08, allocations: 168.7 kB / 6.83 GB, free: 23.61 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006297/20.08, allocations: 200.9 kB / 6.83 GB, free: 23.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009906/20.09, allocations: 4.073 MB / 6.834 GB, free: 23.29 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/20.09, allocations: 34.19 kB / 6.834 GB, free: 23.29 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/20.09, allocations: 3.688 kB / 6.834 GB, free: 23.29 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006768/20.1, allocations: 3.537 MB / 6.838 GB, free: 22.82 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/20.11, allocations: 6.25 MB / 6.844 GB, free: 22.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/20.11, allocations: 1.188 kB / 6.844 GB, free: 22.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/20.12, allocations: 318.2 kB / 6.844 GB, free: 22.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002795/20.12, allocations: 1.021 MB / 6.845 GB, free: 22.31 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002753/20.12, allocations: 50.25 kB / 6.845 GB, free: 22.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008125/20.13, allocations: 10.34 MB / 6.855 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/20.13, allocations: 0 / 6.855 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/20.14, allocations: 5.294 MB / 6.86 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/20.14, allocations: 0.5925 MB / 6.861 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/20.14, allocations: 13.48 kB / 6.861 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/20.14, allocations: 117.4 kB / 6.861 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003368/20.14, allocations: 171.3 kB / 6.861 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/20.14, allocations: 77.48 kB / 6.861 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00124/20.14, allocations: 0.8849 MB / 6.862 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/20.14, allocations: 0 / 6.862 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006983/20.15, allocations: 1.868 MB / 6.864 GB, free: 13.87 MB / 0.5573 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.003961/20.15, allocations: 1.346 MB / 6.865 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009448/20.16, allocations: 5.831 MB / 6.871 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/20.16, allocations: 0 / 6.871 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003463/20.17, allocations: 2.12 MB / 6.873 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005199/20.17, allocations: 0.8134 MB / 6.874 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008688/20.18, allocations: 4.549 MB / 6.878 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/20.18, allocations: 1.939 MB / 6.88 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004634/20.19, allocations: 1.294 MB / 6.881 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005563/20.19, allocations: 170.2 kB / 6.882 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of SimCode: time 1.263e-06/20.19, allocations: 0 / 6.882 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of Templates: time 0.0879/20.27, allocations: 59.27 MB / 6.939 GB, free: 5.211 MB / 0.5573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestExamplesVariants/HeatingSystem_FixedInitial/HeatingSystem_FixedInitial.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches