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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009815/0.0009814, allocations: 192.6 kB / 7.807 MB, free: 2.488 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.03/1.03, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0007876/0.0007876, allocations: 99.17 kB / 261.4 MB, free: 13.54 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.1541/0.1541, allocations: 43.48 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.28e-06/5.3e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2019, allocations: 58.83 MB / 476.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5871/0.7891, allocations: 406 MB / 0.8619 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.7893, allocations: 87.45 kB / 0.862 GB, free: 173 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5072/1.297, allocations: 192.1 MB / 1.05 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.935e-05/1.297, allocations: 31.42 kB / 1.05 GB, free: 100.8 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.002781/1.299, allocations: 1.348 MB / 1.051 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/1.299, allocations: 11.12 kB / 1.051 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003982/1.3, allocations: 118 kB / 1.051 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/1.301, allocations: 0.7909 MB / 1.052 GB, free: 99.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.837e-05/1.301, allocations: 95.97 kB / 1.052 GB, free: 99.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/1.301, allocations: 37.78 kB / 1.052 GB, free: 99.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001352/1.303, allocations: 1.1 MB / 1.053 GB, free: 99.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/1.304, allocations: 1.115 MB / 1.054 GB, free: 99.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/1.304, allocations: 6.625 kB / 1.054 GB, free: 99.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.79e-05/1.304, allocations: 0 / 1.054 GB, free: 99.72 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.874e-05/1.304, allocations: 87 kB / 1.054 GB, free: 99.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006278/1.311, allocations: 4.585 MB / 1.059 GB, free: 98.06 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/1.311, allocations: 495.2 kB / 1.059 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/1.312, allocations: 422 kB / 1.06 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002499/1.314, allocations: 2.576 MB / 1.062 GB, free: 96.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/1.314, allocations: 40.59 kB / 1.062 GB, free: 96.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 2.204e-06/1.314, allocations: 3.312 kB / 1.062 GB, free: 96.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.00777/1.322, allocations: 3.082 MB / 1.065 GB, free: 96.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/1.322, allocations: 161.5 kB / 1.065 GB, free: 95.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006546/1.323, allocations: 0.6388 MB / 1.066 GB, free: 95.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/1.323, allocations: 29.02 kB / 1.066 GB, free: 95.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/1.323, allocations: 390.3 kB / 1.066 GB, free: 95.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/1.323, allocations: 185.5 kB / 1.066 GB, free: 95.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/1.323, allocations: 3.531 kB / 1.066 GB, free: 95.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.039e-05/1.323, allocations: 383.9 kB / 1.067 GB, free: 95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/1.324, allocations: 444.3 kB / 1.067 GB, free: 95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/1.324, allocations: 0.6662 MB / 1.068 GB, free: 94.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006549/1.331, allocations: 1.701 MB / 1.07 GB, free: 94.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.331, allocations: 6.531 kB / 1.07 GB, free: 94.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.007982/1.339, allocations: 2.641 MB / 1.072 GB, free: 94.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003887/1.339, allocations: 2.441 MB / 1.075 GB, free: 91.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/1.339, allocations: 7.812 kB / 1.075 GB, free: 91.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009178/1.34, allocations: 429.2 kB / 1.075 GB, free: 91.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/1.341, allocations: 189.2 kB / 1.075 GB, free: 91.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002797/1.344, allocations: 3.182 MB / 1.078 GB, free: 89.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008901/1.345, allocations: 38.48 kB / 1.078 GB, free: 89.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/1.345, allocations: 46.11 kB / 1.078 GB, free: 89.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.912e-06/1.345, allocations: 3.969 kB / 1.078 GB, free: 89.72 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007641/1.353, allocations: 2.432 MB / 1.081 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/1.353, allocations: 3.625 kB / 1.081 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008038/1.353, allocations: 389.6 kB / 1.081 GB, free: 89.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/1.354, allocations: 188.7 kB / 1.081 GB, free: 89.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/1.356, allocations: 2.992 MB / 1.084 GB, free: 87.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007908/1.357, allocations: 39.3 kB / 1.084 GB, free: 87.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.999e-05/1.357, allocations: 39.42 kB / 1.084 GB, free: 87.32 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.0002637/1.358, allocations: 131.9 kB / 1.084 GB, free: 87.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/1.358, allocations: 81.5 kB / 1.084 GB, free: 87.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003162/1.361, allocations: 1.59 MB / 1.086 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/1.361, allocations: 10.22 kB / 1.086 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.361, allocations: 3.797 kB / 1.086 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.361, allocations: 0 / 1.086 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003912/1.365, allocations: 2.464 MB / 1.088 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.365, allocations: 3.844 kB / 1.088 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/1.365, allocations: 91.39 kB / 1.089 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008717/1.366, allocations: 427.9 kB / 1.089 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/1.366, allocations: 10.48 kB / 1.089 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/1.369, allocations: 3.119 MB / 1.092 GB, free: 84.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.369, allocations: 2.625 kB / 1.092 GB, free: 84.29 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002975/1.372, allocations: 1.97 MB / 1.094 GB, free: 83.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/1.372, allocations: 290 kB / 1.094 GB, free: 83.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/1.372, allocations: 3 kB / 1.094 GB, free: 83.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/1.373, allocations: 32.81 kB / 1.094 GB, free: 83.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/1.373, allocations: 54.55 kB / 1.094 GB, free: 83.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/1.373, allocations: 27.94 kB / 1.094 GB, free: 83.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0004664/1.374, allocations: 497.6 kB / 1.095 GB, free: 83.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002125/1.376, allocations: 0.8417 MB / 1.096 GB, free: 83.54 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.001534/1.377, allocations: 0.8375 MB / 1.096 GB, free: 83.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002762/1.38, allocations: 1.834 MB / 1.098 GB, free: 83.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.38, allocations: 3.469 kB / 1.098 GB, free: 83.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008429/1.381, allocations: 0.5607 MB / 1.099 GB, free: 82.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.382, allocations: 297.6 kB / 1.099 GB, free: 82.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/1.385, allocations: 1.481 MB / 1.1 GB, free: 82.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006502/1.386, allocations: 1.194 MB / 1.102 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of SimCode: time 5.2e-07/1.386, allocations: 0 / 1.102 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.03946/1.425, allocations: 30.31 MB / 1.131 GB, free: 80.44 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