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.00163/0.00163, allocations: 179.8 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 221.3 MB / 236 MB, free: 2.938 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.0009639/0.0009641, allocations: 95.78 kB / 287 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2056/0.2056, allocations: 44.16 MB / 382.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.878e-05, allocations: 8.219 kB / 451.8 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1466, allocations: 61.91 MB / 0.5017 GB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.205/8.352, allocations: 3.171 GB / 3.672 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/8.352, allocations: 78.84 kB / 3.672 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 10.88/19.23, allocations: 3.109 GB / 6.781 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.713e-06/19.23, allocations: 1 kB / 6.781 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002403/19.23, allocations: 68.95 kB / 6.781 GB, free: 54.27 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.01365/19.25, allocations: 3.591 MB / 6.785 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/19.25, allocations: 10.53 kB / 6.785 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002736/19.25, allocations: 312.3 kB / 6.785 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006169/19.25, allocations: 2.087 MB / 6.787 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/19.25, allocations: 221.4 kB / 6.787 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008234/19.26, allocations: 193.7 kB / 6.787 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005599/19.26, allocations: 3.3 MB / 6.791 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.761e-05/19.26, allocations: 11.88 kB / 6.791 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/19.26, allocations: 87.44 kB / 6.791 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000205/19.26, allocations: 201.7 kB / 6.791 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004142/19.27, allocations: 3.018 MB / 6.794 GB, free: 51.39 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.01765/19.28, allocations: 12.43 MB / 6.806 GB, free: 46.4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003772/19.29, allocations: 2.212 MB / 6.808 GB, free: 46.24 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002184/19.29, allocations: 1.338 MB / 6.81 GB, free: 46.23 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008537/19.3, allocations: 6.006 MB / 6.815 GB, free: 43.39 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/19.3, allocations: 54.25 kB / 6.815 GB, free: 43.35 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001124/19.3, allocations: 195.4 kB / 6.816 GB, free: 43.25 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 4.418e-06/19.3, allocations: 0 / 6.816 GB, free: 43.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=198): time 0.025/19.32, allocations: 8.86 MB / 6.824 GB, free: 42.37 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/19.32, allocations: 127.5 kB / 6.824 GB, free: 42.24 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/19.33, allocations: 1.658 MB / 6.826 GB, free: 42 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004432/19.33, allocations: 63.67 kB / 6.826 GB, free: 41.97 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006377/19.33, allocations: 1.035 MB / 6.827 GB, free: 41.56 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000715/19.33, allocations: 0.6841 MB / 6.828 GB, free: 41.12 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/19.33, allocations: 47.66 kB / 6.828 GB, free: 41.12 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001282/19.33, allocations: 395.8 kB / 6.828 GB, free: 40.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/19.33, allocations: 1.179 MB / 6.829 GB, free: 40.81 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/19.33, allocations: 1.708 MB / 6.831 GB, free: 40.25 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/19.33, allocations: 1.433 MB / 6.832 GB, free: 40.22 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/19.33, allocations: 4.625 kB / 6.832 GB, free: 40.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006712/19.34, allocations: 3.862 MB / 6.836 GB, free: 39.95 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001386/19.34, allocations: 5.887 MB / 6.842 GB, free: 33.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/19.34, allocations: 17.84 kB / 6.842 GB, free: 33.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004032/19.35, allocations: 1.148 MB / 6.843 GB, free: 33.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/19.35, allocations: 471.1 kB / 6.844 GB, free: 33.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007915/19.36, allocations: 10.5 MB / 6.854 GB, free: 25.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/19.36, allocations: 195 kB / 6.854 GB, free: 25.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004672/19.36, allocations: 115.8 kB / 6.854 GB, free: 25.81 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/19.36, allocations: 7 kB / 6.854 GB, free: 25.81 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006039/19.37, allocations: 3.452 MB / 6.857 GB, free: 25.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-05/19.37, allocations: 15.81 kB / 6.857 GB, free: 25.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/19.37, allocations: 0.8442 MB / 6.858 GB, free: 25.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/19.37, allocations: 0.4978 MB / 6.859 GB, free: 25.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007242/19.38, allocations: 10.19 MB / 6.869 GB, free: 17.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003095/19.38, allocations: 200.8 kB / 6.869 GB, free: 17.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004101/19.38, allocations: 104.3 kB / 6.869 GB, free: 17.71 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.0007542/19.38, allocations: 238.7 kB / 6.869 GB, free: 17.59 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00054/19.38, allocations: 233.8 kB / 6.869 GB, free: 17.48 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006997/19.39, allocations: 3.88 MB / 6.873 GB, free: 17.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/19.39, allocations: 32 kB / 6.873 GB, free: 17.24 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/19.39, allocations: 3.469 kB / 6.873 GB, free: 17.24 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00468/19.4, allocations: 3.28 MB / 6.877 GB, free: 16.78 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/19.41, allocations: 6.333 MB / 6.883 GB, free: 16.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/19.41, allocations: 0 / 6.883 GB, free: 16.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/19.41, allocations: 320.9 kB / 6.883 GB, free: 16.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00406/19.41, allocations: 1.199 MB / 6.884 GB, free: 16.13 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003252/19.41, allocations: 77.19 kB / 6.884 GB, free: 16.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007876/19.42, allocations: 10.4 MB / 6.894 GB, free: 23.04 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/19.42, allocations: 0 / 6.894 GB, free: 23.04 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008126/19.43, allocations: 5.122 MB / 6.899 GB, free: 21.06 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/19.43, allocations: 0.6393 MB / 6.9 GB, free: 20.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005266/19.43, allocations: 53.91 kB / 6.9 GB, free: 20.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/19.43, allocations: 160.9 kB / 6.9 GB, free: 20.62 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003742/19.43, allocations: 166.7 kB / 6.9 GB, free: 20.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/19.43, allocations: 78.55 kB / 6.9 GB, free: 20.58 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001673/19.43, allocations: 1.274 MB / 6.902 GB, free: 20.06 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.91e-07/19.43, allocations: 0 / 6.902 GB, free: 20.06 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006289/19.44, allocations: 1.981 MB / 6.904 GB, free: 19.65 MB / 0.573 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,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.003056/19.44, allocations: 1.365 MB / 6.905 GB, free: 19.22 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009816/19.45, allocations: 6.084 MB / 6.911 GB, free: 16.55 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/19.45, allocations: 3.938 kB / 6.911 GB, free: 16.55 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003628/19.46, allocations: 2.207 MB / 6.913 GB, free: 15.46 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006086/19.46, allocations: 0.9541 MB / 6.914 GB, free: 15.25 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009014/19.47, allocations: 4.711 MB / 6.919 GB, free: 13.67 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/19.47, allocations: 1.938 MB / 6.921 GB, free: 12.81 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004734/19.48, allocations: 1.452 MB / 6.922 GB, free: 12.72 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005268/19.48, allocations: 175.7 kB / 6.922 GB, free: 12.71 MB / 0.573 GB Notification: Performance of SimCode: time 1.493e-06/19.48, allocations: 0 / 6.922 GB, free: 12.71 MB / 0.573 GB Notification: Performance of Templates: time 0.4649/19.94, allocations: 67.89 MB / 6.988 GB, free: 59.59 MB / 0.573 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