Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.00114/0.00114, allocations: 180.9 kB / 8.006 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.739/1.739, allocations: 205.3 MB / 213.7 MB, free: 1.676 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.001032/0.001032, allocations: 90.61 kB / 261.7 MB, free: 1.617 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.2221/0.2221, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.639e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9794/1.098, allocations: 406.1 MB / 0.8625 GB, free: 29.53 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/1.098, allocations: 93.75 kB / 0.8626 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6639/1.762, allocations: 191.3 MB / 1.049 GB, free: 47.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.433e-06/1.762, allocations: 0 / 1.049 GB, free: 47.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.719e-05/1.762, allocations: 31.88 kB / 1.049 GB, free: 47.69 MB / 0.4948 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.00286/1.765, allocations: 1.348 MB / 1.051 GB, free: 46.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/1.765, allocations: 12.03 kB / 1.051 GB, free: 46.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/1.766, allocations: 118.8 kB / 1.051 GB, free: 46.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/1.767, allocations: 0.7803 MB / 1.052 GB, free: 45.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-05/1.767, allocations: 92.7 kB / 1.052 GB, free: 45.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/1.767, allocations: 39.95 kB / 1.052 GB, free: 45.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001324/1.768, allocations: 1.073 MB / 1.053 GB, free: 44.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/1.77, allocations: 1.095 MB / 1.054 GB, free: 42.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/1.77, allocations: 4 kB / 1.054 GB, free: 42.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.742e-05/1.77, allocations: 4 kB / 1.054 GB, free: 42.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-05/1.77, allocations: 73.89 kB / 1.054 GB, free: 42.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006204/1.776, allocations: 4.542 MB / 1.058 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008977/1.777, allocations: 0.6634 MB / 1.059 GB, free: 37.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004205/1.778, allocations: 410.4 kB / 1.059 GB, free: 37.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002611/1.78, allocations: 2.569 MB / 1.062 GB, free: 34.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/1.78, allocations: 39 kB / 1.062 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 2.004e-06/1.78, allocations: 0 / 1.062 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.007916/1.788, allocations: 3.067 MB / 1.065 GB, free: 31.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/1.788, allocations: 166.7 kB / 1.065 GB, free: 30.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/1.789, allocations: 0.6286 MB / 1.066 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/1.789, allocations: 25.7 kB / 1.066 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/1.789, allocations: 482.4 kB / 1.066 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/1.79, allocations: 189.2 kB / 1.066 GB, free: 29.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/1.79, allocations: 0 / 1.066 GB, free: 29.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.79, allocations: 386.8 kB / 1.067 GB, free: 29.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/1.79, allocations: 434.5 kB / 1.067 GB, free: 28.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/1.791, allocations: 0.6509 MB / 1.068 GB, free: 27.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006118/1.797, allocations: 1.616 MB / 1.069 GB, free: 26.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/1.797, allocations: 0 / 1.069 GB, free: 26.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.007608/1.805, allocations: 2.54 MB / 1.072 GB, free: 23.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004817/1.805, allocations: 2.444 MB / 1.074 GB, free: 21.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.805, allocations: 4 kB / 1.074 GB, free: 21.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009675/1.806, allocations: 430.3 kB / 1.075 GB, free: 20.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/1.807, allocations: 187.7 kB / 1.075 GB, free: 20.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/1.81, allocations: 3.145 MB / 1.078 GB, free: 17.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009635/1.811, allocations: 40.11 kB / 1.078 GB, free: 17.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/1.811, allocations: 43.98 kB / 1.078 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.996e-06/1.811, allocations: 7.938 kB / 1.078 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007609/1.818, allocations: 2.329 MB / 1.08 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/1.818, allocations: 8.125 kB / 1.08 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009907/1.819, allocations: 386.2 kB / 1.081 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007065/1.82, allocations: 183.7 kB / 1.081 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/1.822, allocations: 2.962 MB / 1.084 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008285/1.823, allocations: 40.03 kB / 1.084 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/1.823, allocations: 43.97 kB / 1.084 GB, free: 10.97 MB / 0.4948 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 () * 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.0002757/1.824, allocations: 136.7 kB / 1.084 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/1.824, allocations: 79.06 kB / 1.084 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002872/1.827, allocations: 1.459 MB / 1.085 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/1.827, allocations: 12.12 kB / 1.086 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.827, allocations: 4 kB / 1.086 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/1.827, allocations: 3.984 kB / 1.086 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00398/1.831, allocations: 2.404 MB / 1.088 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/1.831, allocations: 4 kB / 1.088 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/1.831, allocations: 95.83 kB / 1.088 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008546/1.832, allocations: 422.2 kB / 1.088 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/1.832, allocations: 11.98 kB / 1.088 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002728/1.835, allocations: 3.079 MB / 1.091 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/1.835, allocations: 3.953 kB / 1.091 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/1.838, allocations: 1.91 MB / 1.093 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/1.838, allocations: 291.9 kB / 1.094 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/1.838, allocations: 3.938 kB / 1.094 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005978/1.839, allocations: 27.97 kB / 1.094 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/1.839, allocations: 56.53 kB / 1.094 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/1.839, allocations: 35.97 kB / 1.094 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005438/1.84, allocations: 487.1 kB / 1.094 GB, free: 96 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.84, allocations: 192 / 1.094 GB, free: 96 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.2717/2.112, allocations: 0.8364 MB / 1.095 GB, free: 104.1 MB / 0.4948 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 () * 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.002151/2.114, allocations: 0.8305 MB / 1.096 GB, free: 104 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003363/2.117, allocations: 1.791 MB / 1.097 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/2.117, allocations: 5.031 kB / 1.097 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009794/2.118, allocations: 0.5536 MB / 1.098 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/2.12, allocations: 312.3 kB / 1.098 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/2.123, allocations: 1.41 MB / 1.1 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/2.124, allocations: 1.082 MB / 1.101 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001534/2.125, allocations: 429.5 kB / 1.101 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/2.125, allocations: 80.47 kB / 1.101 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of SimCode: time 7.22e-07/2.125, allocations: 1.281 kB / 1.101 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.03731/2.163, allocations: 25.59 MB / 1.126 GB, free: 101.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches