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") [: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 trunk/package.mo): time 0.002038/0.002038, allocations: 200.6 kB / 8.542 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009821/0.000982, allocations: 93.36 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 45.14 MB / 383.3 MB, free: 472 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.233e-06, allocations: 0 / 452.6 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1431, allocations: 63.24 MB / 0.5038 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9654/1.109, allocations: 407.9 MB / 0.9021 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/1.109, allocations: 86.14 kB / 0.9022 GB, free: 46.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.6649/1.774, allocations: 195.2 MB / 1.093 GB, free: 72.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.504e-05/1.774, allocations: 27.98 kB / 1.093 GB, free: 72.24 MB / 0.5261 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.003413/1.777, allocations: 1.345 MB / 1.094 GB, free: 70.85 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.778, allocations: 11.97 kB / 1.094 GB, free: 70.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004476/1.778, allocations: 126.7 kB / 1.094 GB, free: 70.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/1.78, allocations: 0.7843 MB / 1.095 GB, free: 69.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/1.78, allocations: 92.7 kB / 1.095 GB, free: 69.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/1.78, allocations: 40 kB / 1.095 GB, free: 69.74 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001532/1.781, allocations: 1.104 MB / 1.096 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/1.783, allocations: 1.118 MB / 1.097 GB, free: 67.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/1.783, allocations: 0 / 1.097 GB, free: 67.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.446e-05/1.783, allocations: 0 / 1.097 GB, free: 67.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-05/1.783, allocations: 85.94 kB / 1.097 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006991/1.79, allocations: 4.589 MB / 1.102 GB, free: 62.58 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/1.791, allocations: 486.5 kB / 1.102 GB, free: 62.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/1.791, allocations: 421 kB / 1.103 GB, free: 61.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002785/1.794, allocations: 2.581 MB / 1.105 GB, free: 58.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/1.794, allocations: 43 kB / 1.105 GB, free: 58.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=50): time 2.054e-06/1.794, allocations: 0 / 1.105 GB, free: 58.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55): time 0.008752/1.803, allocations: 3.091 MB / 1.108 GB, free: 55.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/1.803, allocations: 162.7 kB / 1.109 GB, free: 55.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009288/1.804, allocations: 0.6363 MB / 1.109 GB, free: 54.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.383e-05/1.804, allocations: 25.7 kB / 1.109 GB, free: 54.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/1.804, allocations: 386.4 kB / 1.11 GB, free: 54.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/1.804, allocations: 193.2 kB / 1.11 GB, free: 54.19 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/1.804, allocations: 0 / 1.11 GB, free: 54.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.805, allocations: 390.7 kB / 1.11 GB, free: 53.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/1.805, allocations: 445.8 kB / 1.11 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006926/1.806, allocations: 0.6602 MB / 1.111 GB, free: 52.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003917/1.81, allocations: 1.136 MB / 1.112 GB, free: 51.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/1.81, allocations: 4 kB / 1.112 GB, free: 51.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00523/1.815, allocations: 2.075 MB / 1.114 GB, free: 49.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004602/1.816, allocations: 2.447 MB / 1.117 GB, free: 46.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.816, allocations: 4 kB / 1.117 GB, free: 46.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000972/1.817, allocations: 430.3 kB / 1.117 GB, free: 46.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/1.817, allocations: 187.7 kB / 1.117 GB, free: 46.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/1.82, allocations: 3.18 MB / 1.12 GB, free: 42.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/1.821, allocations: 35.97 kB / 1.12 GB, free: 42.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/1.822, allocations: 51.97 kB / 1.12 GB, free: 42.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/1.822, allocations: 4 kB / 1.12 GB, free: 42.67 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004878/1.826, allocations: 1.863 MB / 1.122 GB, free: 40.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.826, allocations: 11.94 kB / 1.122 GB, free: 40.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009192/1.827, allocations: 390.2 kB / 1.123 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007489/1.828, allocations: 183.7 kB / 1.123 GB, free: 40.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/1.831, allocations: 2.99 MB / 1.126 GB, free: 37.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009398/1.832, allocations: 44.03 kB / 1.126 GB, free: 37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.113e-05/1.832, allocations: 43.98 kB / 1.126 GB, free: 36.95 MB / 0.5261 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.0003011/1.832, allocations: 132.7 kB / 1.126 GB, free: 36.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/1.832, allocations: 82.97 kB / 1.126 GB, free: 36.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/1.836, allocations: 1.576 MB / 1.128 GB, free: 35.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/1.836, allocations: 8 kB / 1.128 GB, free: 35.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.836, allocations: 0 / 1.128 GB, free: 35.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/1.836, allocations: 7.891 kB / 1.128 GB, free: 35.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004285/1.84, allocations: 2.46 MB / 1.13 GB, free: 32.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.84, allocations: 0 / 1.13 GB, free: 32.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/1.84, allocations: 91.88 kB / 1.13 GB, free: 32.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009302/1.841, allocations: 430.2 kB / 1.131 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/1.841, allocations: 15.98 kB / 1.131 GB, free: 32.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/1.844, allocations: 3.117 MB / 1.134 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.844, allocations: 0 / 1.134 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003328/1.848, allocations: 1.975 MB / 1.135 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005358/1.848, allocations: 287.9 kB / 1.136 GB, free: 26.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/1.848, allocations: 8 kB / 1.136 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006651/1.849, allocations: 31.81 kB / 1.136 GB, free: 26.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/1.849, allocations: 52.56 kB / 1.136 GB, free: 26.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-05/1.849, allocations: 35.98 kB / 1.136 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0005706/1.85, allocations: 491.1 kB / 1.136 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002788/1.853, allocations: 0.8507 MB / 1.137 GB, free: 24.96 MB / 0.5261 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.001925/1.855, allocations: 0.8311 MB / 1.138 GB, free: 24.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00308/1.858, allocations: 1.835 MB / 1.14 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/1.858, allocations: 4 kB / 1.14 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008973/1.859, allocations: 0.5547 MB / 1.14 GB, free: 21.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/1.86, allocations: 310.3 kB / 1.141 GB, free: 21.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/1.864, allocations: 1.489 MB / 1.142 GB, free: 19.87 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007639/1.864, allocations: 1.191 MB / 1.143 GB, free: 18.65 MB / 0.5261 GB Notification: Performance of SimCode: time 4.1e-07/1.864, allocations: 0 / 1.143 GB, free: 18.65 MB / 0.5261 GB Notification: Performance of Templates: time 0.2984/2.163, allocations: 30.3 MB / 1.173 GB, free: 166.5 MB / 0.5261 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/jenkins/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