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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 95.09 kB / 18.01 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 204.4 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.7 MB / 247.5 MB, free: 9.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1989/0.1989, allocations: 46.17 MB / 345.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.0002789, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 63.56 MB / 483.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.3947/0.5106, allocations: 151.6 MB / 0.6205 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01505/0.5257, allocations: 10.73 MB / 0.6309 GB, free: 1.605 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.527, allocations: 39.69 kB / 0.631 GB, free: 1.566 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.5284, allocations: 350.1 kB / 0.6313 GB, free: 1.223 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003826/0.5323, allocations: 1.381 MB / 0.6327 GB, free: 15.84 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006311/0.5386, allocations: 2.281 MB / 0.6349 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004482/0.5431, allocations: 3.91 MB / 0.6387 GB, free: 9.648 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.5445, allocations: 0.6454 MB / 0.6393 GB, free: 8.992 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002047/0.5466, allocations: 0.8951 MB / 0.6402 GB, free: 8.094 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/0.5488, allocations: 1.129 MB / 0.6413 GB, free: 6.961 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003001/0.5491, allocations: 52 kB / 0.6414 GB, free: 6.91 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004081/0.5532, allocations: 2.012 MB / 0.6433 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006271/0.5539, allocations: 358.9 kB / 0.6437 GB, free: 4.543 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.5549, allocations: 0.5421 MB / 0.6442 GB, free: 3.992 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002995/0.5579, allocations: 1.851 MB / 0.646 GB, free: 2.137 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5579, allocations: 4 kB / 0.646 GB, free: 2.133 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5579, allocations: 0 / 0.646 GB, free: 2.133 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.978e-05/0.5579, allocations: 0 / 0.646 GB, free: 2.133 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.003492/0.5614, allocations: 1.379 MB / 0.6474 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5615, allocations: 23.84 kB / 0.6474 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005362/0.562, allocations: 118.7 kB / 0.6475 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.5633, allocations: 0.7137 MB / 0.6482 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.5635, allocations: 116.7 kB / 0.6483 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.5637, allocations: 71.98 kB / 0.6484 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.5658, allocations: 1.196 MB / 0.6495 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.5658, allocations: 7.875 kB / 0.6496 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.5659, allocations: 39.97 kB / 0.6496 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.566, allocations: 73.95 kB / 0.6497 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.5681, allocations: 1.202 MB / 0.6508 GB, free: 13.05 MB / 494.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.008613/0.5767, allocations: 4.933 MB / 0.6557 GB, free: 7.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.578, allocations: 0.6764 MB / 0.6563 GB, free: 7.148 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000639/0.5787, allocations: 426.3 kB / 0.6567 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003463/0.5821, allocations: 2.442 MB / 0.6591 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.5822, allocations: 43 kB / 0.6591 GB, free: 4.023 MB / 494.1 MB Notification: Performance of pre-optimization done (n=52): time 3.166e-06/0.5822, allocations: 0 / 0.6591 GB, free: 4.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=57): time 0.007071/0.5893, allocations: 3.034 MB / 0.6621 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.5894, allocations: 162.8 kB / 0.6623 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.5907, allocations: 0.9544 MB / 0.6632 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-05/0.5908, allocations: 37.7 kB / 0.6632 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/0.5911, allocations: 471 kB / 0.6637 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.5913, allocations: 209.1 kB / 0.6639 GB, free: 15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.5914, allocations: 81.67 kB / 0.664 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.5916, allocations: 345.9 kB / 0.6643 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007564/0.5923, allocations: 461.7 kB / 0.6647 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009119/0.5933, allocations: 0.7077 MB / 0.6654 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.5948, allocations: 1.081 MB / 0.6665 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/0.5949, allocations: 8 kB / 0.6665 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00264/0.5975, allocations: 1.562 MB / 0.668 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000209/0.5977, allocations: 290.2 kB / 0.6683 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.5977, allocations: 8 kB / 0.6683 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.5994, allocations: 0.5294 MB / 0.6688 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007479/0.6002, allocations: 191.6 kB / 0.669 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/0.6029, allocations: 2.937 MB / 0.6719 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009733/0.6039, allocations: 56.03 kB / 0.6719 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.604, allocations: 51.92 kB / 0.672 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.604, allocations: 7.938 kB / 0.672 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002623/0.6067, allocations: 1.409 MB / 0.6733 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.6067, allocations: 8 kB / 0.6734 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.6078, allocations: 418.3 kB / 0.6738 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007602/0.6086, allocations: 187.7 kB / 0.6739 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.6111, allocations: 2.833 MB / 0.6767 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009042/0.612, allocations: 60.06 kB / 0.6768 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.6121, allocations: 43.98 kB / 0.6768 GB, free: 1.008 MB / 0.4981 GB 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.0005999/0.6127, allocations: 368.7 kB / 0.6772 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.613, allocations: 102.8 kB / 0.6773 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.6155, allocations: 1.397 MB / 0.6786 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.6156, allocations: 8 kB / 0.6786 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6156, allocations: 0 / 0.6786 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.6156, allocations: 3.984 kB / 0.6786 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003684/0.6193, allocations: 2.334 MB / 0.6809 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.6193, allocations: 0 / 0.6809 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004557/0.6197, allocations: 91.83 kB / 0.681 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001558/0.6213, allocations: 0.5099 MB / 0.6815 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.6214, allocations: 15.98 kB / 0.6815 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002549/0.624, allocations: 2.927 MB / 0.6844 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.624, allocations: 0 / 0.6844 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.6268, allocations: 1.761 MB / 0.6861 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005707/0.6273, allocations: 307.6 kB / 0.6864 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.6276, allocations: 15.98 kB / 0.6864 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/0.6283, allocations: 39.98 kB / 0.6864 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.6284, allocations: 56.47 kB / 0.6865 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/0.6285, allocations: 31.98 kB / 0.6865 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001011/0.6295, allocations: 0.6752 MB / 0.6872 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6295, allocations: 0 / 0.6872 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002383/0.6319, allocations: 0.8121 MB / 0.688 GB, free: 5.148 MB / 0.5137 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 () * 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.001848/0.6338, allocations: 0.6614 MB / 0.6886 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00394/0.6377, allocations: 1.909 MB / 0.6905 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6378, allocations: 8.688 kB / 0.6905 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.6389, allocations: 0.5719 MB / 0.691 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.6413, allocations: 400.6 kB / 0.6914 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/0.6455, allocations: 2.408 MB / 0.6938 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007082/0.6462, allocations: 1.058 MB / 0.6948 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/0.6466, allocations: 99.39 kB / 0.6949 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.6466, allocations: 0 / 0.6949 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of Templates: time 0.2602/0.9068, allocations: 32.12 MB / 0.7263 GB, free: 186.6 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestInitialization/TestInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches