Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.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.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001447/0.001447, allocations: 177.3 kB / 17.41 MB, free: 4.418 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.42/1.42, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.0007542/0.0007541, allocations: 85.42 kB / 271.9 MB, free: 8.285 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.3395/0.3395, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.000351, allocations: 16 kB / 432.6 MB, free: 5.672 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1152, allocations: 58.85 MB / 491.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9694/1.085, allocations: 407 MB / 0.8774 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/1.085, allocations: 90.58 kB / 0.8775 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3961/1.481, allocations: 191.9 MB / 1.065 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.803e-06/1.481, allocations: 0 / 1.065 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.688e-05/1.481, allocations: 20 kB / 1.065 GB, free: 25.66 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003932/1.485, allocations: 1.457 MB / 1.066 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/1.485, allocations: 11.97 kB / 1.066 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006663/1.486, allocations: 119.7 kB / 1.066 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/1.488, allocations: 0.813 MB / 1.067 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/1.488, allocations: 120.6 kB / 1.067 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/1.488, allocations: 67.92 kB / 1.067 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/1.49, allocations: 1.208 MB / 1.069 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/1.49, allocations: 0 / 1.069 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/1.49, allocations: 31.98 kB / 1.069 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.779e-05/1.49, allocations: 77.94 kB / 1.069 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/1.492, allocations: 1.187 MB / 1.07 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007241/1.499, allocations: 4.669 MB / 1.074 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/1.5, allocations: 0.6837 MB / 1.075 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005561/1.501, allocations: 426.8 kB / 1.076 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002793/1.504, allocations: 2.411 MB / 1.078 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/1.504, allocations: 42.94 kB / 1.078 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 2.074e-06/1.504, allocations: 4 kB / 1.078 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57): time 0.006389/1.51, allocations: 3.034 MB / 1.081 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/1.51, allocations: 162.8 kB / 1.081 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/1.511, allocations: 0.935 MB / 1.082 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.408e-05/1.511, allocations: 37.7 kB / 1.082 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/1.512, allocations: 463.2 kB / 1.082 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/1.512, allocations: 201.1 kB / 1.083 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/1.512, allocations: 20 kB / 1.083 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.022e-05/1.512, allocations: 341.9 kB / 1.083 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006511/1.513, allocations: 445.7 kB / 1.083 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/1.513, allocations: 0.6779 MB / 1.084 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/1.515, allocations: 1.037 MB / 1.085 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.515, allocations: 7.938 kB / 1.085 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002148/1.517, allocations: 1.507 MB / 1.087 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/1.517, allocations: 272.2 kB / 1.087 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.517, allocations: 8 kB / 1.087 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/1.519, allocations: 0.5176 MB / 1.087 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006726/1.519, allocations: 187.7 kB / 1.087 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2307/1.75, allocations: 2.926 MB / 1.09 GB, free: 96.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/1.752, allocations: 55.92 kB / 1.09 GB, free: 96.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/1.752, allocations: 47.64 kB / 1.09 GB, free: 96.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.752, allocations: 4.406 kB / 1.09 GB, free: 96.86 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003021/1.755, allocations: 1.371 MB / 1.092 GB, free: 96.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/1.755, allocations: 13.5 kB / 1.092 GB, free: 96.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/1.756, allocations: 409.2 kB / 1.092 GB, free: 96.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/1.757, allocations: 184.4 kB / 1.092 GB, free: 96.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/1.759, allocations: 2.825 MB / 1.095 GB, free: 94.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/1.76, allocations: 55.86 kB / 1.095 GB, free: 94.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/1.76, allocations: 48.44 kB / 1.095 GB, free: 94.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006449/1.761, allocations: 374.4 kB / 1.096 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/1.761, allocations: 94.16 kB / 1.096 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/1.764, allocations: 1.383 MB / 1.097 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/1.764, allocations: 11.56 kB / 1.097 GB, free: 94.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.764, allocations: 1.531 kB / 1.097 GB, free: 94.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/1.764, allocations: 3.328 kB / 1.097 GB, free: 94.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/1.767, allocations: 2.332 MB / 1.099 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.767, allocations: 3.281 kB / 1.099 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/1.768, allocations: 94.67 kB / 1.099 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/1.769, allocations: 0.5079 MB / 1.1 GB, free: 93.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/1.769, allocations: 21.69 kB / 1.1 GB, free: 93.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/1.771, allocations: 2.921 MB / 1.103 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.771, allocations: 2.719 kB / 1.103 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/1.774, allocations: 1.756 MB / 1.104 GB, free: 91.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004765/1.774, allocations: 306.1 kB / 1.105 GB, free: 90.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/1.774, allocations: 12.84 kB / 1.105 GB, free: 90.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/1.775, allocations: 45.5 kB / 1.105 GB, free: 90.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/1.775, allocations: 60.94 kB / 1.105 GB, free: 90.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.162e-05/1.775, allocations: 27.22 kB / 1.105 GB, free: 90.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000824/1.776, allocations: 0.6592 MB / 1.106 GB, free: 90.81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/1.776, allocations: 6.438 kB / 1.106 GB, free: 90.81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002902/1.779, allocations: 0.8872 MB / 1.106 GB, free: 90.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002033/1.781, allocations: 0.8519 MB / 1.107 GB, free: 90.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003455/1.784, allocations: 1.911 MB / 1.109 GB, free: 90.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.784, allocations: 0 / 1.109 GB, free: 90.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009558/1.785, allocations: 0.5694 MB / 1.11 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/1.787, allocations: 387.9 kB / 1.11 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/1.79, allocations: 2.294 MB / 1.112 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/1.791, allocations: 1.062 MB / 1.113 GB, free: 88.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/1.791, allocations: 100.8 kB / 1.113 GB, free: 88.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/1.791, allocations: 0 / 1.113 GB, free: 88.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.03682/1.828, allocations: 32.2 MB / 1.145 GB, free: 87.39 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestInitialization/TestInitialization.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches