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.001259/0.001259, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.001071/0.001071, allocations: 98.05 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2321/0.2321, allocations: 44.15 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.902e-05/1.903e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1505, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.469/1.619, allocations: 406.9 MB / 0.8921 GB, free: 181.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/1.62, allocations: 86.36 kB / 0.8922 GB, free: 181.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4341/2.054, allocations: 194.8 MB / 1.082 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.794e-06/2.054, allocations: 3.938 kB / 1.082 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001267/2.054, allocations: 32 kB / 1.082 GB, free: 13.75 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.004159/2.058, allocations: 1.34 MB / 1.084 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/2.058, allocations: 11.98 kB / 1.084 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008192/2.059, allocations: 122.7 kB / 1.084 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/2.061, allocations: 0.7881 MB / 1.085 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/2.061, allocations: 92.7 kB / 1.085 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002609/2.061, allocations: 40 kB / 1.085 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002814/2.064, allocations: 1.069 MB / 1.086 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002818/2.067, allocations: 1.087 MB / 1.087 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/2.067, allocations: 4 kB / 1.087 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/2.067, allocations: 3.984 kB / 1.087 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/2.067, allocations: 77.89 kB / 1.087 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01119/2.079, allocations: 4.545 MB / 1.091 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/2.08, allocations: 0.6568 MB / 1.092 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007112/2.081, allocations: 408.3 kB / 1.092 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004216/2.085, allocations: 2.589 MB / 1.095 GB, free: 300 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/2.085, allocations: 43 kB / 1.095 GB, free: 248 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=50): time 3.016e-06/2.085, allocations: 0 / 1.095 GB, free: 248 kB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.438/2.523, allocations: 3.044 MB / 1.098 GB, free: 99.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/2.523, allocations: 161.8 kB / 1.098 GB, free: 99.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/2.525, allocations: 0.6293 MB / 1.099 GB, free: 99.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.086e-05/2.525, allocations: 27.11 kB / 1.099 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/2.525, allocations: 483.7 kB / 1.099 GB, free: 98.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/2.525, allocations: 192.5 kB / 1.099 GB, free: 98.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/2.525, allocations: 0 / 1.099 GB, free: 98.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001656/2.526, allocations: 389.2 kB / 1.1 GB, free: 98.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007158/2.526, allocations: 433.4 kB / 1.1 GB, free: 98.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008791/2.527, allocations: 0.6477 MB / 1.101 GB, free: 98.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003288/2.53, allocations: 0.9852 MB / 1.102 GB, free: 98.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-06/2.53, allocations: 2.875 kB / 1.102 GB, free: 98.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00433/2.535, allocations: 1.894 MB / 1.104 GB, free: 98.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005507/2.535, allocations: 2.442 MB / 1.106 GB, free: 95.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/2.535, allocations: 7.531 kB / 1.106 GB, free: 95.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009455/2.536, allocations: 434.7 kB / 1.106 GB, free: 95.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007858/2.537, allocations: 181.6 kB / 1.107 GB, free: 95.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003477/2.541, allocations: 3.147 MB / 1.11 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/2.542, allocations: 40.84 kB / 1.11 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/2.542, allocations: 45.72 kB / 1.11 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/2.542, allocations: 7.156 kB / 1.11 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004525/2.546, allocations: 1.696 MB / 1.111 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/2.546, allocations: 6.344 kB / 1.111 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/2.547, allocations: 386.7 kB / 1.112 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/2.548, allocations: 187.5 kB / 1.112 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/2.551, allocations: 2.96 MB / 1.115 GB, free: 90.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000978/2.552, allocations: 36.33 kB / 1.115 GB, free: 90.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/2.552, allocations: 44.81 kB / 1.115 GB, free: 90.9 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 () * 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.000373/2.553, allocations: 129.6 kB / 1.115 GB, free: 90.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/2.553, allocations: 87.61 kB / 1.115 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003819/2.557, allocations: 1.462 MB / 1.117 GB, free: 90.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/2.557, allocations: 8.062 kB / 1.117 GB, free: 90.56 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/2.557, allocations: 0.7031 kB / 1.117 GB, free: 90.56 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/2.557, allocations: 3.891 kB / 1.117 GB, free: 90.56 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0052/2.562, allocations: 2.413 MB / 1.119 GB, free: 90.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/2.562, allocations: 0 / 1.119 GB, free: 90.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004878/2.563, allocations: 89.97 kB / 1.119 GB, free: 90.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/2.564, allocations: 424.7 kB / 1.119 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/2.564, allocations: 12.7 kB / 1.12 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003279/2.567, allocations: 3.082 MB / 1.123 GB, free: 87.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/2.567, allocations: 1.062 kB / 1.123 GB, free: 87.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003965/2.571, allocations: 1.911 MB / 1.124 GB, free: 87.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005929/2.572, allocations: 286.9 kB / 1.125 GB, free: 87.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/2.572, allocations: 2.438 kB / 1.125 GB, free: 87.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006288/2.572, allocations: 30.48 kB / 1.125 GB, free: 87.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/2.573, allocations: 63.52 kB / 1.125 GB, free: 87.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-05/2.573, allocations: 29.05 kB / 1.125 GB, free: 87.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006433/2.573, allocations: 490 kB / 1.125 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/2.573, allocations: 0 / 1.125 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003526/2.577, allocations: 0.836 MB / 1.126 GB, free: 87.29 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 () * 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.002371/2.579, allocations: 0.8414 MB / 1.127 GB, free: 87.19 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003091/2.582, allocations: 1.796 MB / 1.129 GB, free: 86.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/2.582, allocations: 0 / 1.129 GB, free: 86.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009019/2.583, allocations: 0.5542 MB / 1.129 GB, free: 86.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/2.585, allocations: 315.3 kB / 1.129 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/2.588, allocations: 1.405 MB / 1.131 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/2.588, allocations: 1.086 MB / 1.132 GB, free: 85.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001358/2.59, allocations: 430.5 kB / 1.132 GB, free: 85.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/2.59, allocations: 76.2 kB / 1.132 GB, free: 85.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.393e-06/2.59, allocations: 0 / 1.132 GB, free: 85.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.03618/2.626, allocations: 25.61 MB / 1.157 GB, free: 84.91 MB / 0.5105 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