Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001691/0.00169, allocations: 171.2 kB / 8.146 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 89.19 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2645/0.2645, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.236e-06/8.376e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3093, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9744/1.284, allocations: 406 MB / 0.8619 GB, free: 141 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/1.284, allocations: 82.45 kB / 0.862 GB, free: 141 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.9358/2.22, allocations: 192.1 MB / 1.05 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.64e-05/2.22, allocations: 24.88 kB / 1.05 GB, free: 106.7 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.004861/2.225, allocations: 1.356 MB / 1.051 GB, free: 106 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/2.225, allocations: 7 kB / 1.051 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008745/2.226, allocations: 118.9 kB / 1.051 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/2.229, allocations: 0.7974 MB / 1.052 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/2.229, allocations: 89.84 kB / 1.052 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/2.229, allocations: 38.22 kB / 1.052 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002853/2.232, allocations: 1.1 MB / 1.053 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/2.235, allocations: 1.115 MB / 1.054 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/2.235, allocations: 2.625 kB / 1.054 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/2.235, allocations: 7.828 kB / 1.054 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/2.235, allocations: 77.58 kB / 1.054 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/2.249, allocations: 4.583 MB / 1.059 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/2.25, allocations: 491.9 kB / 1.059 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009762/2.251, allocations: 422.7 kB / 1.06 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005119/2.256, allocations: 2.579 MB / 1.062 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/2.256, allocations: 44.92 kB / 1.062 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 3.637e-06/2.256, allocations: 3.312 kB / 1.062 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.01548/2.272, allocations: 3.084 MB / 1.065 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/2.272, allocations: 161.7 kB / 1.065 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/2.273, allocations: 0.6375 MB / 1.066 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000226/2.274, allocations: 31.86 kB / 1.066 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/2.274, allocations: 415.5 kB / 1.066 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/2.274, allocations: 186.5 kB / 1.066 GB, free: 101 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.716e-05/2.274, allocations: 2.906 kB / 1.066 GB, free: 101 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001001/2.274, allocations: 350.1 kB / 1.067 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/2.275, allocations: 444 kB / 1.067 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/2.277, allocations: 0.6662 MB / 1.068 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01349/2.29, allocations: 1.699 MB / 1.07 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/2.29, allocations: 0 / 1.07 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01622/2.306, allocations: 2.6 MB / 1.072 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005176/2.307, allocations: 2.442 MB / 1.074 GB, free: 97.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/2.307, allocations: 7.875 kB / 1.074 GB, free: 97.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/2.309, allocations: 434.7 kB / 1.075 GB, free: 97.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/2.31, allocations: 180.7 kB / 1.075 GB, free: 97.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005182/2.316, allocations: 3.156 MB / 1.078 GB, free: 95.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/2.317, allocations: 37.75 kB / 1.078 GB, free: 95.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/2.317, allocations: 42.08 kB / 1.078 GB, free: 95.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/2.317, allocations: 4.656 kB / 1.078 GB, free: 95.4 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01537/2.333, allocations: 2.434 MB / 1.081 GB, free: 95.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/2.333, allocations: 11.3 kB / 1.081 GB, free: 95.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/2.334, allocations: 380.3 kB / 1.081 GB, free: 95.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/2.336, allocations: 186.2 kB / 1.081 GB, free: 95.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004302/2.34, allocations: 2.984 MB / 1.084 GB, free: 93.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/2.342, allocations: 33.5 kB / 1.084 GB, free: 93.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/2.342, allocations: 53.3 kB / 1.084 GB, free: 93.01 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.0003706/2.342, allocations: 55.67 kB / 1.084 GB, free: 92.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/2.342, allocations: 80.53 kB / 1.084 GB, free: 92.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005932/2.348, allocations: 1.583 MB / 1.086 GB, free: 92.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/2.348, allocations: 13.8 kB / 1.086 GB, free: 92.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/2.349, allocations: 7.844 kB / 1.086 GB, free: 92.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/2.349, allocations: 0 / 1.086 GB, free: 92.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007727/2.356, allocations: 2.453 MB / 1.088 GB, free: 92.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/2.356, allocations: 0 / 1.088 GB, free: 92.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009231/2.357, allocations: 92.55 kB / 1.088 GB, free: 92.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/2.359, allocations: 423.5 kB / 1.089 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/2.359, allocations: 11.14 kB / 1.089 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/2.364, allocations: 3.128 MB / 1.092 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/2.364, allocations: 3.906 kB / 1.092 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006144/2.37, allocations: 1.969 MB / 1.094 GB, free: 89.69 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008448/2.371, allocations: 286.1 kB / 1.094 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002519/2.371, allocations: 3.938 kB / 1.094 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/2.373, allocations: 37.81 kB / 1.094 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/2.373, allocations: 49.84 kB / 1.094 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/2.373, allocations: 30.67 kB / 1.094 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0008978/2.374, allocations: 494 kB / 1.095 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003573/2.377, allocations: 0.8468 MB / 1.095 GB, free: 89.3 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.002803/2.38, allocations: 0.8297 MB / 1.096 GB, free: 89.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005491/2.386, allocations: 1.81 MB / 1.098 GB, free: 88.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/2.386, allocations: 7.094 kB / 1.098 GB, free: 88.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/2.388, allocations: 0.5513 MB / 1.099 GB, free: 88.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/2.39, allocations: 295.9 kB / 1.099 GB, free: 88.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006029/2.397, allocations: 1.528 MB / 1.1 GB, free: 87.94 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/2.398, allocations: 1.194 MB / 1.101 GB, free: 87.19 MB / 0.4948 GB Notification: Performance of SimCode: time 1.162e-06/2.398, allocations: 0 / 1.101 GB, free: 87.19 MB / 0.4948 GB Notification: Performance of Templates: time 0.0612/2.459, allocations: 30.72 MB / 1.131 GB, free: 77.51 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches