Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.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.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 196.5 kB / 18.1 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00123/0.00123, allocations: 111.9 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5415/0.5415, allocations: 44.82 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003107, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.498/0.4983, allocations: 62.95 MB / 0.5184 GB, free: 37.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.229/1.727, allocations: 408.7 MB / 0.9175 GB, free: 192.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/1.727, allocations: 97.94 kB / 0.9176 GB, free: 192.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.437/2.164, allocations: 194.8 MB / 1.108 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.025e-06/2.164, allocations: 0 / 1.108 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001327/2.165, allocations: 31.98 kB / 1.108 GB, free: 11.7 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004908/2.17, allocations: 1.453 MB / 1.109 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/2.17, allocations: 12.03 kB / 1.109 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008062/2.17, allocations: 123.6 kB / 1.109 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/2.173, allocations: 0.8091 MB / 1.11 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/2.173, allocations: 112.7 kB / 1.11 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003105/2.173, allocations: 67.91 kB / 1.11 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/2.175, allocations: 1.214 MB / 1.112 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/2.175, allocations: 0 / 1.112 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/2.176, allocations: 39.91 kB / 1.112 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-05/2.176, allocations: 77.95 kB / 1.112 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/2.178, allocations: 1.183 MB / 1.113 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00777/2.185, allocations: 4.666 MB / 1.117 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/2.187, allocations: 0.6884 MB / 1.118 GB, free: 0.8633 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005502/2.187, allocations: 424.4 kB / 1.119 GB, free: 460 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3702/2.557, allocations: 2.404 MB / 1.121 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/2.557, allocations: 48.64 kB / 1.121 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=52): time 3.186e-06/2.557, allocations: 4.5 kB / 1.121 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=57): time 0.007223/2.565, allocations: 3.032 MB / 1.124 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/2.565, allocations: 162.6 kB / 1.124 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/2.566, allocations: 0.9337 MB / 1.125 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.331e-05/2.566, allocations: 36.89 kB / 1.125 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/2.566, allocations: 466.8 kB / 1.125 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/2.567, allocations: 201 kB / 1.126 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/2.567, allocations: 18.19 kB / 1.126 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.102e-05/2.567, allocations: 340.5 kB / 1.126 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006524/2.567, allocations: 445.8 kB / 1.126 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007795/2.568, allocations: 0.6797 MB / 1.127 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/2.57, allocations: 1.046 MB / 1.128 GB, free: 104 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/2.57, allocations: 0 / 1.128 GB, free: 104 MB / 0.5417 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002224/2.572, allocations: 1.513 MB / 1.13 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/2.572, allocations: 273.5 kB / 1.13 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/2.572, allocations: 5.312 kB / 1.13 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/2.574, allocations: 0.5154 MB / 1.13 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006931/2.574, allocations: 181.5 kB / 1.131 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/2.576, allocations: 2.944 MB / 1.133 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/2.577, allocations: 61.66 kB / 1.133 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.402e-05/2.577, allocations: 42.08 kB / 1.133 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/2.577, allocations: 5.781 kB / 1.133 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002149/2.58, allocations: 1.367 MB / 1.135 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/2.58, allocations: 7.562 kB / 1.135 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009306/2.581, allocations: 404.4 kB / 1.135 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/2.581, allocations: 197.4 kB / 1.135 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/2.583, allocations: 2.816 MB / 1.138 GB, free: 98.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009401/2.584, allocations: 57.77 kB / 1.138 GB, free: 98.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.87e-05/2.584, allocations: 42.75 kB / 1.138 GB, free: 98.68 MB / 0.5417 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.0007149/2.585, allocations: 375.3 kB / 1.139 GB, free: 98.49 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/2.585, allocations: 99.72 kB / 1.139 GB, free: 98.44 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/2.587, allocations: 1.388 MB / 1.14 GB, free: 98.24 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/2.587, allocations: 10.92 kB / 1.14 GB, free: 98.24 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/2.587, allocations: 0 / 1.14 GB, free: 98.24 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/2.587, allocations: 3.375 kB / 1.14 GB, free: 98.24 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/2.591, allocations: 2.326 MB / 1.142 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/2.591, allocations: 3.938 kB / 1.142 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/2.591, allocations: 91.98 kB / 1.142 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/2.593, allocations: 0.5136 MB / 1.143 GB, free: 97.76 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.516e-05/2.593, allocations: 22.14 kB / 1.143 GB, free: 97.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/2.595, allocations: 2.928 MB / 1.146 GB, free: 95.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/2.595, allocations: 6.375 kB / 1.146 GB, free: 95.46 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/2.597, allocations: 1.755 MB / 1.148 GB, free: 95.13 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007371/2.598, allocations: 301.8 kB / 1.148 GB, free: 94.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/2.598, allocations: 18.59 kB / 1.148 GB, free: 94.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006386/2.599, allocations: 40.8 kB / 1.148 GB, free: 94.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/2.599, allocations: 56.62 kB / 1.148 GB, free: 94.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/2.599, allocations: 34.55 kB / 1.148 GB, free: 94.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009429/2.6, allocations: 0.6559 MB / 1.149 GB, free: 94.87 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/2.6, allocations: 0 / 1.149 GB, free: 94.87 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00314/2.603, allocations: 0.9029 MB / 1.149 GB, free: 94.87 MB / 0.5417 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.001975/2.605, allocations: 0.8463 MB / 1.15 GB, free: 94.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003564/2.609, allocations: 1.92 MB / 1.152 GB, free: 94.53 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/2.609, allocations: 3.938 kB / 1.152 GB, free: 94.53 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009799/2.61, allocations: 0.5745 MB / 1.153 GB, free: 94.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/2.612, allocations: 397.2 kB / 1.153 GB, free: 94.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/2.616, allocations: 2.231 MB / 1.155 GB, free: 93.56 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006604/2.616, allocations: 1.059 MB / 1.156 GB, free: 92.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001592/2.618, allocations: 426.2 kB / 1.157 GB, free: 92.85 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/2.618, allocations: 91.19 kB / 1.157 GB, free: 92.84 MB / 0.5417 GB Notification: Performance of SimCode: time 1.503e-06/2.618, allocations: 0 / 1.157 GB, free: 92.84 MB / 0.5417 GB Notification: Performance of Templates: time 0.051/2.669, allocations: 28.86 MB / 1.185 GB, free: 91.99 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestInitialization/TestInitialization.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches