Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008024/0.0008025, allocations: 102.3 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.226/0.226, allocations: 45.15 MB / 383.8 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.864e-05/1.866e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1445, allocations: 63.24 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.141/8.285, allocations: 3.171 GB / 3.675 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003611/8.286, allocations: 79.55 kB / 3.675 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 9.985/18.27, allocations: 3.084 GB / 6.76 GB, free: 4.84 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.573e-06/18.27, allocations: 4 kB / 6.76 GB, free: 4.836 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002954/18.27, allocations: 63.83 kB / 6.76 GB, free: 4.777 MB / 0.573 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.01418/18.29, allocations: 3.598 MB / 6.763 GB, free: 1.137 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/18.29, allocations: 16.02 kB / 6.763 GB, free: 1.121 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002676/18.29, allocations: 305 kB / 6.764 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3569/18.64, allocations: 2.083 MB / 6.766 GB, free: 65.69 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/18.64, allocations: 147.8 kB / 6.766 GB, free: 65.62 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004478/18.65, allocations: 120.2 kB / 6.766 GB, free: 65.62 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004184/18.65, allocations: 2.85 MB / 6.769 GB, free: 65.61 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003909/18.65, allocations: 3.033 MB / 6.772 GB, free: 65.13 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-05/18.65, allocations: 7.125 kB / 6.772 GB, free: 65.13 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/18.65, allocations: 6.531 kB / 6.772 GB, free: 65.13 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001922/18.65, allocations: 207.5 kB / 6.772 GB, free: 65.12 MB / 0.573 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.01841/18.67, allocations: 11.94 MB / 6.783 GB, free: 60.29 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003721/18.68, allocations: 2.15 MB / 6.786 GB, free: 60.16 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001944/18.68, allocations: 1.308 MB / 6.787 GB, free: 60.14 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008916/18.69, allocations: 5.864 MB / 6.793 GB, free: 57.36 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/18.69, allocations: 59.34 kB / 6.793 GB, free: 57.31 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009177/18.69, allocations: 133.4 kB / 6.793 GB, free: 57.24 MB / 0.573 GB Notification: Performance of pre-optimization done (n=172): time 3.697e-06/18.69, allocations: 3.469 kB / 6.793 GB, free: 57.24 MB / 0.573 GB Notification: Performance of matching and sorting (n=198): time 0.02332/18.71, allocations: 8.555 MB / 6.801 GB, free: 56.36 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/18.71, allocations: 131.7 kB / 6.801 GB, free: 56.23 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/18.71, allocations: 1.2 MB / 6.802 GB, free: 56.05 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002304/18.71, allocations: 27.95 kB / 6.802 GB, free: 56.02 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005292/18.71, allocations: 1.043 MB / 6.803 GB, free: 55.55 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004842/18.71, allocations: 0.6556 MB / 6.804 GB, free: 55.11 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/18.71, allocations: 3.594 kB / 6.804 GB, free: 55.11 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001104/18.71, allocations: 397.3 kB / 6.805 GB, free: 54.8 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/18.72, allocations: 1.157 MB / 6.806 GB, free: 54.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/18.72, allocations: 1.659 MB / 6.807 GB, free: 54.25 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007132/18.72, allocations: 2.603 MB / 6.81 GB, free: 54.23 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/18.72, allocations: 7.562 kB / 6.81 GB, free: 54.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.0115/18.74, allocations: 4.85 MB / 6.815 GB, free: 53.97 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00097/18.74, allocations: 5.784 MB / 6.82 GB, free: 48.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/18.74, allocations: 14.44 kB / 6.82 GB, free: 48.08 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002499/18.74, allocations: 0.9657 MB / 6.821 GB, free: 48.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/18.74, allocations: 470.6 kB / 6.822 GB, free: 48.02 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008237/18.75, allocations: 10.49 MB / 6.832 GB, free: 40.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/18.75, allocations: 150.9 kB / 6.832 GB, free: 40.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002839/18.75, allocations: 110.2 kB / 6.832 GB, free: 40.39 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/18.75, allocations: 3.594 kB / 6.832 GB, free: 40.39 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01009/18.76, allocations: 4.317 MB / 6.836 GB, free: 40.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/18.76, allocations: 17.75 kB / 6.836 GB, free: 40.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/18.77, allocations: 0.8075 MB / 6.837 GB, free: 40.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/18.77, allocations: 497.5 kB / 6.838 GB, free: 40.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006953/18.77, allocations: 10.05 MB / 6.847 GB, free: 32.58 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/18.78, allocations: 148.9 kB / 6.848 GB, free: 32.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002571/18.78, allocations: 103.6 kB / 6.848 GB, free: 32.56 MB / 0.573 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.0006279/18.78, allocations: 166.2 kB / 6.848 GB, free: 32.45 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004362/18.78, allocations: 205.3 kB / 6.848 GB, free: 32.34 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008605/18.79, allocations: 4.067 MB / 6.852 GB, free: 32.13 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/18.79, allocations: 24.59 kB / 6.852 GB, free: 32.13 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/18.79, allocations: 4.562 kB / 6.852 GB, free: 32.13 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006588/18.79, allocations: 3.54 MB / 6.855 GB, free: 31.66 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/18.81, allocations: 6.252 MB / 6.862 GB, free: 31.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/18.81, allocations: 0 / 6.862 GB, free: 31.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/18.81, allocations: 324.2 kB / 6.862 GB, free: 31.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002712/18.81, allocations: 1.015 MB / 6.863 GB, free: 31.16 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001862/18.81, allocations: 46.94 kB / 6.863 GB, free: 31.16 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007892/18.82, allocations: 10.34 MB / 6.873 GB, free: 23.53 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/18.82, allocations: 2.625 kB / 6.873 GB, free: 23.53 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009489/18.83, allocations: 5.293 MB / 6.878 GB, free: 23.14 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/18.83, allocations: 0.5941 MB / 6.879 GB, free: 22.93 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003368/18.83, allocations: 22.58 kB / 6.879 GB, free: 22.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/18.83, allocations: 111.5 kB / 6.879 GB, free: 22.92 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00032/18.83, allocations: 166 kB / 6.879 GB, free: 22.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/18.83, allocations: 81.42 kB / 6.879 GB, free: 22.91 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00111/18.83, allocations: 0.8852 MB / 6.88 GB, free: 22.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.1e-07/18.83, allocations: 0 / 6.88 GB, free: 22.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006057/18.84, allocations: 1.882 MB / 6.882 GB, free: 22.72 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,5 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003001/18.84, allocations: 1.368 MB / 6.883 GB, free: 22.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.008678/18.85, allocations: 5.818 MB / 6.889 GB, free: 21.42 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/18.85, allocations: 0 / 6.889 GB, free: 21.42 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003376/18.85, allocations: 2.124 MB / 6.891 GB, free: 20.88 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004464/18.86, allocations: 0.8402 MB / 6.892 GB, free: 20.85 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007568/18.86, allocations: 4.546 MB / 6.896 GB, free: 19.94 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/18.87, allocations: 1.941 MB / 6.898 GB, free: 19.18 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003983/18.87, allocations: 1.286 MB / 6.899 GB, free: 19.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/18.87, allocations: 171.7 kB / 6.899 GB, free: 19.1 MB / 0.573 GB Notification: Performance of SimCode: time 6.31e-07/18.87, allocations: 0 / 6.899 GB, free: 19.1 MB / 0.573 GB Notification: Performance of Templates: time 0.08674/18.96, allocations: 59.29 MB / 6.957 GB, free: 14.22 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches