Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001089/0.001089, allocations: 177.6 kB / 8.004 MB, free: 1.07 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.562/1.562, allocations: 205.3 MB / 213.7 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008681/0.000868, allocations: 86.64 kB / 261.7 MB, free: 1.605 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2287/0.2287, allocations: 43.48 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.407e-05/1.409e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.135, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.907/8.042, allocations: 3.163 GB / 3.629 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/8.042, allocations: 78.78 kB / 3.629 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 10.19/18.23, allocations: 3.067 GB / 6.696 GB, free: 60.14 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.923e-06/18.23, allocations: 2.875 kB / 6.696 GB, free: 60.14 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003814/18.23, allocations: 73.94 kB / 6.696 GB, free: 60.14 MB / 0.5417 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.01788/18.25, allocations: 3.587 MB / 6.7 GB, free: 58.49 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/18.25, allocations: 9.719 kB / 6.7 GB, free: 58.49 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/18.26, allocations: 310.9 kB / 6.7 GB, free: 58.35 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007288/18.26, allocations: 2.089 MB / 6.702 GB, free: 57.89 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/18.26, allocations: 147.2 kB / 6.702 GB, free: 57.83 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004334/18.26, allocations: 119.1 kB / 6.702 GB, free: 57.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006329/18.27, allocations: 2.851 MB / 6.705 GB, free: 57.81 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004455/18.27, allocations: 3.019 MB / 6.708 GB, free: 57.34 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.225e-05/18.27, allocations: 8.625 kB / 6.708 GB, free: 57.34 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/18.27, allocations: 7.188 kB / 6.708 GB, free: 57.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/18.27, allocations: 205 kB / 6.708 GB, free: 57.33 MB / 0.5417 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.01685/18.29, allocations: 11.96 MB / 6.72 GB, free: 52.42 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/18.29, allocations: 2.168 MB / 6.722 GB, free: 52.28 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/18.3, allocations: 1.297 MB / 6.723 GB, free: 52.27 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007401/18.3, allocations: 5.871 MB / 6.729 GB, free: 49.46 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/18.3, allocations: 58.97 kB / 6.729 GB, free: 49.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009187/18.3, allocations: 128.5 kB / 6.729 GB, free: 49.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=172): time 4.278e-06/18.3, allocations: 0 / 6.729 GB, free: 49.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=198): time 0.02179/18.33, allocations: 8.561 MB / 6.738 GB, free: 48.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/18.33, allocations: 128.3 kB / 6.738 GB, free: 48.33 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/18.33, allocations: 1.202 MB / 6.739 GB, free: 48.16 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001777/18.33, allocations: 33.2 kB / 6.739 GB, free: 48.12 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005123/18.33, allocations: 1.044 MB / 6.74 GB, free: 47.65 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004594/18.33, allocations: 0.6507 MB / 6.741 GB, free: 47.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/18.33, allocations: 0 / 6.741 GB, free: 47.21 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001335/18.33, allocations: 402 kB / 6.741 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/18.33, allocations: 1.158 MB / 6.742 GB, free: 46.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/18.33, allocations: 1.655 MB / 6.744 GB, free: 46.35 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/18.35, allocations: 3.803 MB / 6.747 GB, free: 46.33 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.943e-05/18.35, allocations: 3.375 kB / 6.747 GB, free: 46.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01781/18.36, allocations: 6.041 MB / 6.753 GB, free: 46.08 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009567/18.36, allocations: 5.784 MB / 6.759 GB, free: 40.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/18.36, allocations: 15.16 kB / 6.759 GB, free: 40.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002486/18.37, allocations: 0.9642 MB / 6.76 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/18.37, allocations: 467.8 kB / 6.76 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008209/18.38, allocations: 10.5 MB / 6.771 GB, free: 32.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/18.38, allocations: 146.7 kB / 6.771 GB, free: 32.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/18.38, allocations: 109.8 kB / 6.771 GB, free: 32.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/18.38, allocations: 3.531 kB / 6.771 GB, free: 32.46 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0154/18.4, allocations: 5.51 MB / 6.776 GB, free: 32.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/18.4, allocations: 11.88 kB / 6.776 GB, free: 32.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/18.4, allocations: 0.8081 MB / 6.777 GB, free: 32.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/18.4, allocations: 498.6 kB / 6.778 GB, free: 32.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007047/18.41, allocations: 10.07 MB / 6.787 GB, free: 24.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/18.41, allocations: 142.8 kB / 6.788 GB, free: 24.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/18.41, allocations: 110.4 kB / 6.788 GB, free: 24.64 MB / 0.5417 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.0006366/18.41, allocations: 153.7 kB / 6.788 GB, free: 24.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/18.41, allocations: 208 kB / 6.788 GB, free: 24.42 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008358/18.42, allocations: 4.077 MB / 6.792 GB, free: 24.19 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/18.42, allocations: 22.88 kB / 6.792 GB, free: 24.19 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/18.42, allocations: 2.969 kB / 6.792 GB, free: 24.19 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006288/18.42, allocations: 3.544 MB / 6.795 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/18.44, allocations: 6.25 MB / 6.802 GB, free: 23.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/18.44, allocations: 1.438 kB / 6.802 GB, free: 23.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/18.44, allocations: 321.9 kB / 6.802 GB, free: 23.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002745/18.44, allocations: 1.014 MB / 6.803 GB, free: 23.21 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/18.44, allocations: 52.97 kB / 6.803 GB, free: 23.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00748/18.45, allocations: 10.33 MB / 6.813 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/18.45, allocations: 0 / 6.813 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009042/18.46, allocations: 5.287 MB / 6.818 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/18.46, allocations: 0.5966 MB / 6.819 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003393/18.46, allocations: 20.8 kB / 6.819 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/18.46, allocations: 111.3 kB / 6.819 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/18.46, allocations: 171.1 kB / 6.819 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/18.46, allocations: 84.45 kB / 6.819 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001138/18.46, allocations: 0.8862 MB / 6.82 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.41e-07/18.46, allocations: 1.594 kB / 6.82 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006085/18.47, allocations: 1.867 MB / 6.822 GB, free: 14.62 MB / 0.5417 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.003148/18.47, allocations: 1.346 MB / 6.823 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008364/18.48, allocations: 5.834 MB / 6.829 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/18.48, allocations: 0 / 6.829 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002985/18.48, allocations: 2.114 MB / 6.831 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004009/18.49, allocations: 0.8137 MB / 6.832 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007298/18.49, allocations: 4.554 MB / 6.836 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/18.5, allocations: 1.941 MB / 6.838 GB, free: 26.89 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003789/18.5, allocations: 1.282 MB / 6.839 GB, free: 26.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004575/18.5, allocations: 168 kB / 6.839 GB, free: 26.79 MB / 0.5573 GB Notification: Performance of SimCode: time 1.283e-06/18.5, allocations: 0 / 6.839 GB, free: 26.79 MB / 0.5573 GB Notification: Performance of Templates: time 0.07535/18.57, allocations: 59.21 MB / 6.897 GB, free: 8.371 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches