Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 180.4 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 221.3 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008716/0.0008717, allocations: 95.8 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2053/0.2053, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.096e-05, allocations: 8.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1385, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.166, allocations: 407.6 MB / 0.8998 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/1.166, allocations: 85.2 kB / 0.8999 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7208/1.887, allocations: 196.3 MB / 1.092 GB, free: 44.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.853e-06/1.887, allocations: 0 / 1.092 GB, free: 44.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.001e-05/1.887, allocations: 32.14 kB / 1.092 GB, free: 44.24 MB / 0.5261 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.003427/1.891, allocations: 1.351 MB / 1.093 GB, free: 42.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.891, allocations: 11.97 kB / 1.093 GB, free: 42.83 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/1.891, allocations: 118.8 kB / 1.093 GB, free: 42.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/1.892, allocations: 0.7881 MB / 1.094 GB, free: 41.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/1.892, allocations: 116.7 kB / 1.094 GB, free: 41.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/1.893, allocations: 67.98 kB / 1.094 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/1.894, allocations: 1.181 MB / 1.095 GB, free: 40.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/1.894, allocations: 4 kB / 1.095 GB, free: 40.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.47e-05/1.894, allocations: 39.94 kB / 1.095 GB, free: 40.42 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.452e-05/1.894, allocations: 73.94 kB / 1.095 GB, free: 40.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/1.896, allocations: 1.167 MB / 1.096 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006168/1.902, allocations: 4.717 MB / 1.101 GB, free: 34.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009541/1.903, allocations: 0.6683 MB / 1.102 GB, free: 33.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004683/1.903, allocations: 419.8 kB / 1.102 GB, free: 33.13 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002653/1.906, allocations: 2.5 MB / 1.104 GB, free: 30.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/1.906, allocations: 43 kB / 1.104 GB, free: 30.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=52): time 1.944e-06/1.906, allocations: 0 / 1.104 GB, free: 30.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57): time 0.00433/1.91, allocations: 2.346 MB / 1.107 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/1.91, allocations: 166.8 kB / 1.107 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/1.912, allocations: 0.8327 MB / 1.108 GB, free: 26.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/1.912, allocations: 37.7 kB / 1.108 GB, free: 26.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/1.912, allocations: 455.3 kB / 1.108 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/1.912, allocations: 205.1 kB / 1.108 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/1.912, allocations: 16 kB / 1.108 GB, free: 26.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.186e-05/1.912, allocations: 341.9 kB / 1.109 GB, free: 25.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005619/1.913, allocations: 437.8 kB / 1.109 GB, free: 25.42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006439/1.913, allocations: 0.666 MB / 1.11 GB, free: 24.65 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006257/1.914, allocations: 0.5049 MB / 1.11 GB, free: 24.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.914, allocations: 3.938 kB / 1.11 GB, free: 24.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002012/1.916, allocations: 1.487 MB / 1.112 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004491/1.917, allocations: 2.444 MB / 1.114 GB, free: 19.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.917, allocations: 8 kB / 1.114 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/1.918, allocations: 0.506 MB / 1.115 GB, free: 19.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006925/1.919, allocations: 183.7 kB / 1.115 GB, free: 19.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/1.921, allocations: 2.939 MB / 1.118 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/1.922, allocations: 63.89 kB / 1.118 GB, free: 16.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-05/1.922, allocations: 43.98 kB / 1.118 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/1.922, allocations: 4 kB / 1.118 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001947/1.924, allocations: 1.346 MB / 1.119 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.924, allocations: 8 kB / 1.119 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008738/1.925, allocations: 402.3 kB / 1.12 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/1.925, allocations: 183.7 kB / 1.12 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/1.927, allocations: 2.818 MB / 1.122 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009163/1.928, allocations: 43.97 kB / 1.122 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-05/1.928, allocations: 48.06 kB / 1.123 GB, free: 11 MB / 0.5261 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.000284/1.928, allocations: 164.7 kB / 1.123 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/1.929, allocations: 98.78 kB / 1.123 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/1.931, allocations: 1.379 MB / 1.124 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/1.931, allocations: 12.06 kB / 1.124 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/1.931, allocations: 4 kB / 1.124 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/1.931, allocations: 7.938 kB / 1.124 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/1.934, allocations: 2.33 MB / 1.126 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.934, allocations: 0 / 1.126 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/1.934, allocations: 95.81 kB / 1.127 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/1.935, allocations: 0.4904 MB / 1.127 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/1.935, allocations: 23.98 kB / 1.127 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/1.937, allocations: 2.919 MB / 1.13 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.937, allocations: 0 / 1.13 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/1.939, allocations: 1.761 MB / 1.132 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000658/1.94, allocations: 311.7 kB / 1.132 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/1.94, allocations: 16 kB / 1.132 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/1.941, allocations: 40.03 kB / 1.132 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/1.941, allocations: 64.42 kB / 1.132 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/1.941, allocations: 23.98 kB / 1.132 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008545/1.942, allocations: 0.6559 MB / 1.133 GB, free: 180 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.942, allocations: 0 / 1.133 GB, free: 180 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.3331/2.275, allocations: 0.8868 MB / 1.134 GB, free: 111.2 MB / 0.5261 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.002535/2.278, allocations: 0.837 MB / 1.134 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004358/2.282, allocations: 1.916 MB / 1.136 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/2.282, allocations: 0 / 1.136 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/2.283, allocations: 0.5715 MB / 1.137 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/2.285, allocations: 386.5 kB / 1.137 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/2.288, allocations: 1.477 MB / 1.139 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/2.289, allocations: 1.083 MB / 1.14 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00184/2.291, allocations: 0.4891 MB / 1.14 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/2.291, allocations: 80.08 kB / 1.14 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/2.291, allocations: 0.5625 kB / 1.14 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.05024/2.342, allocations: 29.79 MB / 1.169 GB, free: 108.9 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestInitialization/TestInitialization.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches