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") [: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 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 182.8 kB / 8.518 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.4 MB / 230.3 MB, free: 7.727 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.001012/0.001012, allocations: 84.73 kB / 281.2 MB, free: 5.449 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.2044/0.2044, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.572e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1333, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8371/0.9705, allocations: 406.9 MB / 0.8914 GB, free: 96 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.1952/1.166, allocations: 82.66 kB / 0.8915 GB, free: 185.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.4065/1.572, allocations: 195.6 MB / 1.083 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.685e-05/1.572, allocations: 27.98 kB / 1.083 GB, free: 14.73 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.002875/1.575, allocations: 1.349 MB / 1.084 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/1.575, allocations: 11.97 kB / 1.084 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/1.576, allocations: 118.7 kB / 1.084 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/1.577, allocations: 0.7959 MB / 1.085 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.494e-05/1.577, allocations: 96.7 kB / 1.085 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/1.577, allocations: 43.91 kB / 1.085 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001404/1.579, allocations: 1.093 MB / 1.086 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/1.58, allocations: 1.118 MB / 1.087 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/1.58, allocations: 3.938 kB / 1.087 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.164e-05/1.58, allocations: 4 kB / 1.087 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/1.58, allocations: 77.94 kB / 1.087 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00661/1.587, allocations: 4.588 MB / 1.092 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006035/1.588, allocations: 491.7 kB / 1.092 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/1.588, allocations: 429.2 kB / 1.093 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002784/1.591, allocations: 2.581 MB / 1.095 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/1.591, allocations: 46.94 kB / 1.095 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=50): time 2.114e-06/1.591, allocations: 0 / 1.095 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.2034/1.794, allocations: 3.083 MB / 1.098 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/1.794, allocations: 162.5 kB / 1.098 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008491/1.795, allocations: 0.6332 MB / 1.099 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.33e-05/1.795, allocations: 28.61 kB / 1.099 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/1.796, allocations: 394.9 kB / 1.099 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/1.796, allocations: 188.7 kB / 1.099 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/1.796, allocations: 0 / 1.099 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.796, allocations: 388.7 kB / 1.1 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006089/1.797, allocations: 447.8 kB / 1.1 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000762/1.797, allocations: 0.664 MB / 1.101 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003216/1.801, allocations: 1.032 MB / 1.102 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/1.801, allocations: 0 / 1.102 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004858/1.805, allocations: 1.971 MB / 1.104 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000612/1.806, allocations: 2.444 MB / 1.106 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.806, allocations: 10.5 kB / 1.106 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/1.807, allocations: 429.4 kB / 1.107 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/1.808, allocations: 184.5 kB / 1.107 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/1.811, allocations: 3.173 MB / 1.11 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/1.812, allocations: 45.25 kB / 1.11 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.812, allocations: 40.7 kB / 1.11 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/1.812, allocations: 7.531 kB / 1.11 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003878/1.816, allocations: 1.763 MB / 1.112 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.816, allocations: 14.09 kB / 1.112 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008668/1.817, allocations: 383.1 kB / 1.112 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/1.818, allocations: 192.2 kB / 1.112 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/1.821, allocations: 2.987 MB / 1.115 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009306/1.821, allocations: 32.62 kB / 1.115 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.893e-05/1.822, allocations: 43.17 kB / 1.115 GB, free: 141.5 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.0002929/1.822, allocations: 138.6 kB / 1.115 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/1.822, allocations: 79.56 kB / 1.115 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/1.825, allocations: 1.581 MB / 1.117 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/1.826, allocations: 11.38 kB / 1.117 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.826, allocations: 0 / 1.117 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.826, allocations: 3.938 kB / 1.117 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/1.83, allocations: 2.455 MB / 1.119 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.83, allocations: 0 / 1.119 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004859/1.83, allocations: 95.95 kB / 1.12 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009558/1.831, allocations: 422.2 kB / 1.12 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/1.831, allocations: 9.375 kB / 1.12 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/1.834, allocations: 3.13 MB / 1.123 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.834, allocations: 3.609 kB / 1.123 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003222/1.838, allocations: 1.97 MB / 1.125 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004486/1.838, allocations: 285.8 kB / 1.125 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/1.838, allocations: 10.62 kB / 1.125 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006599/1.839, allocations: 30.83 kB / 1.125 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/1.839, allocations: 52.95 kB / 1.125 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/1.839, allocations: 28.78 kB / 1.125 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0005406/1.84, allocations: 491.7 kB / 1.126 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002753/1.842, allocations: 0.8499 MB / 1.127 GB, free: 137.9 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.001617/1.844, allocations: 0.8287 MB / 1.127 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002934/1.847, allocations: 1.827 MB / 1.129 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.847, allocations: 3.562 kB / 1.129 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008902/1.848, allocations: 0.5617 MB / 1.13 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/1.849, allocations: 303 kB / 1.13 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/1.852, allocations: 1.494 MB / 1.132 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008178/1.853, allocations: 1.19 MB / 1.133 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/1.853, allocations: 0 / 1.133 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.04358/1.897, allocations: 30.33 MB / 1.162 GB, free: 135.9 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