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.001202/0.001202, allocations: 186.8 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008332/0.0008332, allocations: 94.53 kB / 267.1 MB, free: 9.27 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.3579/0.3579, allocations: 43.46 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.735e-05, allocations: 4 kB / 425.3 MB, free: 8.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 58.85 MB / 484.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.098/7.214, allocations: 3.164 GB / 3.637 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/7.215, allocations: 82.23 kB / 3.637 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.122/15.34, allocations: 3.098 GB / 6.735 GB, free: 26.74 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.633e-06/15.34, allocations: 0 / 6.735 GB, free: 26.74 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001726/15.34, allocations: 67.92 kB / 6.735 GB, free: 26.68 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.01186/15.35, allocations: 3.601 MB / 6.738 GB, free: 23.02 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/15.35, allocations: 8.031 kB / 6.738 GB, free: 23.01 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/15.35, allocations: 312.9 kB / 6.739 GB, free: 22.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004298/15.35, allocations: 2.086 MB / 6.741 GB, free: 20.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/15.35, allocations: 223.1 kB / 6.741 GB, free: 20.33 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/15.36, allocations: 196 kB / 6.741 GB, free: 20.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004348/15.36, allocations: 3.293 MB / 6.744 GB, free: 16.66 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/15.36, allocations: 7.938 kB / 6.744 GB, free: 16.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/15.36, allocations: 91.91 kB / 6.744 GB, free: 16.57 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/15.36, allocations: 203.7 kB / 6.744 GB, free: 16.37 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003855/15.36, allocations: 3.018 MB / 6.747 GB, free: 13.35 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.01503/15.38, allocations: 12.45 MB / 6.76 GB, free: 368 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3586/15.74, allocations: 2.193 MB / 6.762 GB, free: 42.25 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002263/15.74, allocations: 1.338 MB / 6.763 GB, free: 42.24 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009066/15.75, allocations: 6.006 MB / 6.769 GB, free: 39.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/15.75, allocations: 52.81 kB / 6.769 GB, free: 39.51 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009859/15.75, allocations: 193.1 kB / 6.769 GB, free: 39.51 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=172): time 4.027e-06/15.75, allocations: 0 / 6.769 GB, free: 39.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=198): time 0.02264/15.77, allocations: 8.866 MB / 6.778 GB, free: 38.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/15.77, allocations: 124.3 kB / 6.778 GB, free: 38.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/15.77, allocations: 1.654 MB / 6.78 GB, free: 38.37 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001831/15.78, allocations: 65.42 kB / 6.78 GB, free: 38.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006317/15.78, allocations: 1.04 MB / 6.781 GB, free: 38.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004538/15.78, allocations: 0.6832 MB / 6.781 GB, free: 37.59 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/15.78, allocations: 48.97 kB / 6.781 GB, free: 37.59 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001144/15.78, allocations: 400.5 kB / 6.782 GB, free: 37.29 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/15.78, allocations: 1.181 MB / 6.783 GB, free: 37.28 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/15.78, allocations: 1.697 MB / 6.785 GB, free: 36.72 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/15.78, allocations: 1.436 MB / 6.786 GB, free: 36.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.505e-06/15.78, allocations: 2.844 kB / 6.786 GB, free: 36.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006456/15.79, allocations: 3.849 MB / 6.79 GB, free: 36.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001001/15.79, allocations: 5.896 MB / 6.795 GB, free: 30.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/15.79, allocations: 19.72 kB / 6.795 GB, free: 30.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003827/15.79, allocations: 1.146 MB / 6.797 GB, free: 30.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/15.8, allocations: 471.5 kB / 6.797 GB, free: 30.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007343/15.8, allocations: 10.5 MB / 6.807 GB, free: 22.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/15.81, allocations: 191.7 kB / 6.807 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/15.81, allocations: 117 kB / 6.808 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/15.81, allocations: 3 kB / 6.808 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006756/15.81, allocations: 3.452 MB / 6.811 GB, free: 22.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.507e-05/15.81, allocations: 19.28 kB / 6.811 GB, free: 22.17 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/15.82, allocations: 0.8496 MB / 6.812 GB, free: 22.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/15.82, allocations: 0.4928 MB / 6.812 GB, free: 22.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007941/15.83, allocations: 10.2 MB / 6.822 GB, free: 30.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/15.83, allocations: 188 kB / 6.822 GB, free: 30.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005013/15.83, allocations: 110.9 kB / 6.823 GB, free: 30.2 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.0009399/15.83, allocations: 241.7 kB / 6.823 GB, free: 30.08 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007814/15.83, allocations: 228.4 kB / 6.823 GB, free: 29.96 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008092/15.84, allocations: 3.887 MB / 6.827 GB, free: 29.74 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/15.84, allocations: 24.5 kB / 6.827 GB, free: 29.74 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/15.84, allocations: 3.562 kB / 6.827 GB, free: 29.74 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005302/15.84, allocations: 3.281 MB / 6.83 GB, free: 29.28 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/15.86, allocations: 6.331 MB / 6.836 GB, free: 28.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/15.86, allocations: 2.938 kB / 6.836 GB, free: 28.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/15.86, allocations: 318.8 kB / 6.836 GB, free: 28.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004203/15.86, allocations: 1.199 MB / 6.838 GB, free: 28.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002278/15.86, allocations: 74 kB / 6.838 GB, free: 28.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00829/15.87, allocations: 10.41 MB / 6.848 GB, free: 20.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/15.87, allocations: 0 / 6.848 GB, free: 20.78 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008673/15.88, allocations: 5.117 MB / 6.853 GB, free: 20.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002047/15.88, allocations: 0.6389 MB / 6.854 GB, free: 20.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007987/15.88, allocations: 63.45 kB / 6.854 GB, free: 20.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002208/15.88, allocations: 163.5 kB / 6.854 GB, free: 20.13 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003963/15.89, allocations: 161.3 kB / 6.854 GB, free: 20.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002261/15.89, allocations: 83.83 kB / 6.854 GB, free: 20.13 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002388/15.89, allocations: 1.272 MB / 6.855 GB, free: 19.97 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/15.89, allocations: 0 / 6.855 GB, free: 19.97 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007299/15.9, allocations: 1.986 MB / 6.857 GB, free: 19.89 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,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004228/15.9, allocations: 1.354 MB / 6.858 GB, free: 19.69 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01058/15.91, allocations: 6.089 MB / 6.864 GB, free: 18.52 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/15.91, allocations: 0 / 6.864 GB, free: 18.52 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003926/15.91, allocations: 2.201 MB / 6.867 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005325/15.92, allocations: 0.9627 MB / 6.868 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/15.93, allocations: 4.71 MB / 6.872 GB, free: 17 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002793/15.93, allocations: 1.94 MB / 6.874 GB, free: 16.24 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005378/15.94, allocations: 1.451 MB / 6.875 GB, free: 16.16 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006397/15.94, allocations: 174.7 kB / 6.876 GB, free: 16.15 MB / 0.5573 GB Notification: Performance of SimCode: time 8.51e-07/15.94, allocations: 0 / 6.876 GB, free: 16.15 MB / 0.5573 GB Notification: Performance of Templates: time 0.0986/16.04, allocations: 67.83 MB / 6.942 GB, free: 12.36 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