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.001169/0.001169, allocations: 98.7 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 197.7 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2449/0.2449, allocations: 45.91 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002682, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1059, allocations: 63.46 MB / 481.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.3356/0.4416, allocations: 129.3 MB / 0.5964 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.4537, allocations: 9.223 MB / 0.6054 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009009/0.4546, allocations: 35.69 kB / 0.6055 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.4557, allocations: 366.1 kB / 0.6058 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.4588, allocations: 1.196 MB / 0.607 GB, free: 8.836 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005472/0.4643, allocations: 2.098 MB / 0.609 GB, free: 6.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002418/0.4668, allocations: 1.503 MB / 0.6105 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009218/0.4677, allocations: 0.6141 MB / 0.6111 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.469, allocations: 0.8375 MB / 0.6119 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.47, allocations: 0.775 MB / 0.6127 GB, free: 3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.4702, allocations: 60 kB / 0.6127 GB, free: 2.941 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/0.4736, allocations: 1.861 MB / 0.6145 GB, free: 1.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004338/0.4741, allocations: 327.1 kB / 0.6149 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003165/0.4744, allocations: 221.2 kB / 0.6151 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.4771, allocations: 1.841 MB / 0.6169 GB, free: 14.69 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.4771, allocations: 0 / 0.6169 GB, free: 14.69 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4772, allocations: 0 / 0.6169 GB, free: 14.69 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.4772, allocations: 0 / 0.6169 GB, free: 14.69 MB / 462.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.003037/0.4802, allocations: 1.375 MB / 0.6182 GB, free: 13.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.4803, allocations: 12.03 kB / 0.6182 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003989/0.4807, allocations: 114.8 kB / 0.6183 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.4819, allocations: 0.7101 MB / 0.619 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.482, allocations: 116.7 kB / 0.6191 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.4821, allocations: 67.98 kB / 0.6192 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.4841, allocations: 1.192 MB / 0.6204 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.4841, allocations: 3.984 kB / 0.6204 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.4842, allocations: 31.98 kB / 0.6204 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.4843, allocations: 77.89 kB / 0.6205 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.4864, allocations: 1.202 MB / 0.6216 GB, free: 9.648 MB / 462.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.009217/0.4956, allocations: 4.987 MB / 0.6265 GB, free: 4.367 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.4969, allocations: 0.6918 MB / 0.6272 GB, free: 3.668 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003783/0.5007, allocations: 2.477 MB / 0.6296 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.5008, allocations: 43 kB / 0.6297 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of pre-optimization done (n=52): time 2.255e-06/0.5008, allocations: 0 / 0.6297 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.006958/0.5078, allocations: 3.019 MB / 0.6326 GB, free: 13.79 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.5079, allocations: 162.8 kB / 0.6328 GB, free: 13.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.509, allocations: 0.9504 MB / 0.6337 GB, free: 12.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.246e-05/0.5091, allocations: 37.7 kB / 0.6337 GB, free: 12.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/0.5094, allocations: 467.1 kB / 0.6342 GB, free: 12.13 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.5096, allocations: 209.1 kB / 0.6344 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.5097, allocations: 16 kB / 0.6344 GB, free: 11.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5098, allocations: 345.9 kB / 0.6347 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007183/0.5105, allocations: 449.7 kB / 0.6351 GB, free: 11.13 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008704/0.5114, allocations: 0.692 MB / 0.6358 GB, free: 10.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007971/0.5122, allocations: 0.526 MB / 0.6363 GB, free: 9.801 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5122, allocations: 3.938 kB / 0.6363 GB, free: 9.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00242/0.5147, allocations: 1.523 MB / 0.6378 GB, free: 8.242 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009775/0.5157, allocations: 2.627 MB / 0.6404 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.5157, allocations: 8 kB / 0.6404 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/0.5174, allocations: 0.5177 MB / 0.6409 GB, free: 4.875 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008123/0.5182, allocations: 183.7 kB / 0.6411 GB, free: 4.695 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.5207, allocations: 2.939 MB / 0.6439 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009291/0.5217, allocations: 55.81 kB / 0.644 GB, free: 1.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.5218, allocations: 47.92 kB / 0.644 GB, free: 1.473 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.5218, allocations: 4 kB / 0.644 GB, free: 1.469 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002287/0.5241, allocations: 1.386 MB / 0.6454 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.5241, allocations: 8 kB / 0.6454 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.5252, allocations: 422.5 kB / 0.6458 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/0.5259, allocations: 191.7 kB / 0.646 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.5283, allocations: 2.833 MB / 0.6488 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008303/0.5291, allocations: 47.97 kB / 0.6488 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-05/0.5292, allocations: 43.98 kB / 0.6488 GB, free: 12.32 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.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[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 (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.0006019/0.5298, allocations: 376.9 kB / 0.6492 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.53, allocations: 98.78 kB / 0.6493 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.5324, allocations: 1.401 MB / 0.6507 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.5325, allocations: 4 kB / 0.6507 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5325, allocations: 4 kB / 0.6507 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.5325, allocations: 7.984 kB / 0.6507 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/0.5361, allocations: 2.341 MB / 0.653 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.5361, allocations: 4 kB / 0.653 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/0.5366, allocations: 95.94 kB / 0.6531 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/0.5381, allocations: 0.5097 MB / 0.6536 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.417e-05/0.5382, allocations: 24.11 kB / 0.6536 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/0.5406, allocations: 2.923 MB / 0.6564 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.5406, allocations: 0 / 0.6564 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.5432, allocations: 1.773 MB / 0.6582 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/0.5438, allocations: 323.7 kB / 0.6585 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.544, allocations: 12 kB / 0.6585 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000616/0.5446, allocations: 43.94 kB / 0.6585 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.5447, allocations: 56.48 kB / 0.6586 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-05/0.5448, allocations: 27.97 kB / 0.6586 GB, free: 1.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008364/0.5456, allocations: 0.6751 MB / 0.6593 GB, free: 1.215 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5456, allocations: 0 / 0.6593 GB, free: 1.215 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00198/0.5476, allocations: 0.8199 MB / 0.6601 GB, free: 404 kB / 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 (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.001288/0.5489, allocations: 0.6371 MB / 0.6607 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003476/0.5524, allocations: 1.89 MB / 0.6625 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.5524, allocations: 4 kB / 0.6625 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.5535, allocations: 0.5718 MB / 0.6631 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.5554, allocations: 390.7 kB / 0.6635 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.5594, allocations: 2.244 MB / 0.6657 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/0.5601, allocations: 1.085 MB / 0.6667 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001589/0.5617, allocations: 438 kB / 0.6671 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.562, allocations: 87.41 kB / 0.6672 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of SimCode: time 5.42e-07/0.562, allocations: 0 / 0.6672 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of Templates: time 0.04149/0.6035, allocations: 27.34 MB / 0.6939 GB, free: 13.79 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/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