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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 185 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 223.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3641/0.3641, allocations: 43.57 MB / 315 MB, free: 8.781 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009918/0.0009919, allocations: 19.94 kB / 384.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.14, allocations: 58.86 MB / 443.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.3764/0.5164, allocations: 148.7 MB / 0.5782 GB, free: 6.184 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01593/0.5324, allocations: 10.69 MB / 0.5887 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.5338, allocations: 35.69 kB / 0.5887 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.5353, allocations: 358.1 kB / 0.5891 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004202/0.5396, allocations: 1.354 MB / 0.5904 GB, free: 9.73 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006763/0.5464, allocations: 2.291 MB / 0.5926 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005017/0.5514, allocations: 3.905 MB / 0.5964 GB, free: 3.543 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.5527, allocations: 0.6501 MB / 0.5971 GB, free: 2.887 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.5547, allocations: 0.8835 MB / 0.5979 GB, free: 2 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/0.557, allocations: 1.129 MB / 0.599 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000209/0.5572, allocations: 52 kB / 0.5991 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003936/0.5612, allocations: 1.969 MB / 0.601 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005103/0.5617, allocations: 370.9 kB / 0.6014 GB, free: 14.48 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008193/0.5625, allocations: 0.5421 MB / 0.6019 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004189/0.5667, allocations: 2.513 MB / 0.6043 GB, free: 11.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5668, allocations: 0 / 0.6043 GB, free: 11.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5668, allocations: 0 / 0.6043 GB, free: 11.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.5668, allocations: 0 / 0.6043 GB, free: 11.41 MB / 478.1 MB 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.003161/0.57, allocations: 1.371 MB / 0.6057 GB, free: 9.988 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.57, allocations: 11.97 kB / 0.6057 GB, free: 9.977 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003901/0.5704, allocations: 128.6 kB / 0.6058 GB, free: 9.852 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.5715, allocations: 0.7214 MB / 0.6065 GB, free: 9.086 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.5716, allocations: 116.7 kB / 0.6066 GB, free: 8.961 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.5718, allocations: 67.98 kB / 0.6067 GB, free: 8.895 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.5737, allocations: 1.2 MB / 0.6079 GB, free: 7.66 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.5737, allocations: 3.938 kB / 0.6079 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.5738, allocations: 35.97 kB / 0.6079 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.5739, allocations: 73.95 kB / 0.608 GB, free: 7.547 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.5759, allocations: 1.202 MB / 0.6091 GB, free: 6.348 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008778/0.5847, allocations: 4.934 MB / 0.614 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.586, allocations: 0.6892 MB / 0.6146 GB, free: 444 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006372/0.5866, allocations: 422.3 kB / 0.615 GB, free: 20 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003272/0.5899, allocations: 2.442 MB / 0.6174 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.59, allocations: 43 kB / 0.6175 GB, free: 13.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=52): time 1.693e-06/0.59, allocations: 0 / 0.6175 GB, free: 13.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=57): time 0.00727/0.5973, allocations: 3.049 MB / 0.6204 GB, free: 10.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/0.5974, allocations: 158.8 kB / 0.6206 GB, free: 9.961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.5986, allocations: 0.9544 MB / 0.6215 GB, free: 8.996 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.7e-05/0.5987, allocations: 33.7 kB / 0.6216 GB, free: 8.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.5991, allocations: 475 kB / 0.622 GB, free: 8.488 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.5993, allocations: 205.2 kB / 0.6222 GB, free: 8.285 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.5995, allocations: 81.67 kB / 0.6223 GB, free: 8.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5996, allocations: 341.9 kB / 0.6226 GB, free: 7.859 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007509/0.6004, allocations: 465.7 kB / 0.6231 GB, free: 7.406 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009601/0.6014, allocations: 0.7038 MB / 0.6237 GB, free: 6.594 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.6029, allocations: 1.081 MB / 0.6248 GB, free: 5.426 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6029, allocations: 0 / 0.6248 GB, free: 5.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002475/0.6054, allocations: 1.566 MB / 0.6263 GB, free: 3.824 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.6056, allocations: 290 kB / 0.6266 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.6056, allocations: 8 kB / 0.6266 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/0.6073, allocations: 0.5267 MB / 0.6271 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/0.608, allocations: 187.7 kB / 0.6273 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2194/0.8275, allocations: 2.933 MB / 0.6302 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.8288, allocations: 56.91 kB / 0.6302 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.829, allocations: 51 kB / 0.6303 GB, free: 151.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.829, allocations: 3.031 kB / 0.6303 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002427/0.8314, allocations: 1.413 MB / 0.6317 GB, free: 151 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.8315, allocations: 7.953 kB / 0.6317 GB, free: 151 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009761/0.8324, allocations: 425.2 kB / 0.6321 GB, free: 150.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/0.8331, allocations: 192 kB / 0.6322 GB, free: 150.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.8347, allocations: 2.833 MB / 0.635 GB, free: 148.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000819/0.8356, allocations: 50.98 kB / 0.6351 GB, free: 148.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.8357, allocations: 50.11 kB / 0.6351 GB, free: 148.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 4 (vol1.regularFlow[1],vol1.regularFlow[2],vol1.inFlow[2],vol1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004924/0.8362, allocations: 366.8 kB / 0.6355 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.8363, allocations: 101.1 kB / 0.6356 GB, free: 148.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.8383, allocations: 1.401 MB / 0.6369 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.8384, allocations: 6.125 kB / 0.6369 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.8384, allocations: 0 / 0.6369 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.8384, allocations: 3.328 kB / 0.6369 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/0.8414, allocations: 2.336 MB / 0.6392 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.8414, allocations: 0 / 0.6392 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.8418, allocations: 89.67 kB / 0.6393 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.8432, allocations: 0.5105 MB / 0.6398 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/0.8433, allocations: 24.61 kB / 0.6398 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.8452, allocations: 2.921 MB / 0.6427 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8452, allocations: 0 / 0.6427 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.8475, allocations: 1.76 MB / 0.6444 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.8479, allocations: 310.8 kB / 0.6447 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.848, allocations: 14.5 kB / 0.6447 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005869/0.8486, allocations: 38.94 kB / 0.6447 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.8488, allocations: 55.12 kB / 0.6448 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.8488, allocations: 34.56 kB / 0.6448 GB, free: 144.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007369/0.8496, allocations: 0.6773 MB / 0.6455 GB, free: 144.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8496, allocations: 0 / 0.6455 GB, free: 144.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001975/0.8516, allocations: 0.8057 MB / 0.6463 GB, free: 144.3 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00164/0.8532, allocations: 0.6525 MB / 0.6469 GB, free: 144.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003418/0.8566, allocations: 1.912 MB / 0.6488 GB, free: 143.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.8567, allocations: 3.375 kB / 0.6488 GB, free: 143.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009844/0.8577, allocations: 0.5822 MB / 0.6494 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.8599, allocations: 412.6 kB / 0.6497 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.8632, allocations: 2.354 MB / 0.652 GB, free: 141.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.8636, allocations: 1.061 MB / 0.6531 GB, free: 141.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001384/0.865, allocations: 435.3 kB / 0.6535 GB, free: 141 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.8652, allocations: 93.8 kB / 0.6536 GB, free: 141 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.8652, allocations: 0 / 0.6536 GB, free: 141 MB / 494.1 MB Notification: Performance of Templates: time 0.04723/0.9125, allocations: 28.26 MB / 0.6812 GB, free: 132.7 MB / 494.1 MB 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