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.001035/0.001035, allocations: 95.89 kB / 15.68 MB, free: 488 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.001248/0.001248, allocations: 177.1 kB / 16.56 MB, free: 6.844 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.343/1.343, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3575/0.3575, allocations: 43.55 MB / 314.5 MB, free: 9.035 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.0005492/0.0005493, allocations: 20 kB / 383.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1306, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.3341/0.4647, allocations: 129.3 MB / 0.5586 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.4776, allocations: 9.17 MB / 0.5676 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.4789, allocations: 35.69 kB / 0.5676 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.4801, allocations: 354.2 kB / 0.568 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003659/0.4837, allocations: 1.18 MB / 0.5691 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005452/0.4892, allocations: 2.11 MB / 0.5712 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002406/0.4916, allocations: 1.502 MB / 0.5727 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009558/0.4926, allocations: 0.621 MB / 0.5733 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.4941, allocations: 0.8336 MB / 0.5741 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.4953, allocations: 0.7672 MB / 0.5748 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.4955, allocations: 56 kB / 0.5749 GB, free: 9.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/0.4989, allocations: 1.841 MB / 0.5767 GB, free: 7.656 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003574/0.4993, allocations: 327.1 kB / 0.577 GB, free: 7.336 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.4995, allocations: 217.2 kB / 0.5772 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002511/0.502, allocations: 1.832 MB / 0.579 GB, free: 5.285 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.5021, allocations: 0 / 0.579 GB, free: 5.285 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5021, allocations: 4 kB / 0.579 GB, free: 5.281 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.5021, allocations: 0 / 0.579 GB, free: 5.281 MB / 446.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.002897/0.505, allocations: 1.379 MB / 0.5803 GB, free: 3.852 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.505, allocations: 12.02 kB / 0.5803 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003738/0.5054, allocations: 118.8 kB / 0.5805 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.5066, allocations: 0.6907 MB / 0.5811 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.5067, allocations: 120.7 kB / 0.5813 GB, free: 2.859 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.5069, allocations: 63.98 kB / 0.5813 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.5086, allocations: 1.196 MB / 0.5825 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.5087, allocations: 4 kB / 0.5825 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-05/0.5088, allocations: 27.98 kB / 0.5825 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.5089, allocations: 74.39 kB / 0.5826 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.5107, allocations: 1.206 MB / 0.5838 GB, free: 264 kB / 446.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.008039/0.5188, allocations: 4.986 MB / 0.5886 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.52, allocations: 0.6892 MB / 0.5893 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003288/0.5233, allocations: 2.481 MB / 0.5917 GB, free: 7.602 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.5233, allocations: 39.75 kB / 0.5918 GB, free: 7.555 MB / 462.1 MB Notification: Performance of pre-optimization done (n=52): time 2.014e-06/0.5233, allocations: 0 / 0.5918 GB, free: 7.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.007015/0.5304, allocations: 3.019 MB / 0.5947 GB, free: 4.418 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.5305, allocations: 178.7 kB / 0.5949 GB, free: 4.207 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.5318, allocations: 0.9388 MB / 0.5958 GB, free: 3.258 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.487e-05/0.5319, allocations: 37.7 kB / 0.5958 GB, free: 3.215 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.5323, allocations: 475 kB / 0.5963 GB, free: 2.746 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.5325, allocations: 201.2 kB / 0.5965 GB, free: 2.547 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.5325, allocations: 19.94 kB / 0.5965 GB, free: 2.527 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5327, allocations: 345.9 kB / 0.5968 GB, free: 2.184 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007183/0.5334, allocations: 449.7 kB / 0.5973 GB, free: 1.746 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008643/0.5343, allocations: 0.6959 MB / 0.5979 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007571/0.5351, allocations: 0.5182 MB / 0.5984 GB, free: 436 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5351, allocations: 0 / 0.5984 GB, free: 436 kB / 462.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00245/0.5375, allocations: 1.519 MB / 0.5999 GB, free: 14.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001082/0.5386, allocations: 2.623 MB / 0.6025 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.5386, allocations: 8 kB / 0.6025 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/0.5402, allocations: 0.5177 MB / 0.603 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007347/0.541, allocations: 183.7 kB / 0.6032 GB, free: 11.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/0.5436, allocations: 2.947 MB / 0.6061 GB, free: 8.207 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009447/0.5445, allocations: 59.81 kB / 0.6061 GB, free: 8.148 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.5446, allocations: 44.16 kB / 0.6062 GB, free: 8.105 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.5447, allocations: 8 kB / 0.6062 GB, free: 8.098 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002356/0.547, allocations: 1.382 MB / 0.6075 GB, free: 6.684 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.5471, allocations: 4 kB / 0.6075 GB, free: 6.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.5481, allocations: 422.6 kB / 0.6079 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.5489, allocations: 191.7 kB / 0.6081 GB, free: 6.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.5511, allocations: 2.841 MB / 0.6109 GB, free: 3.047 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008283/0.5519, allocations: 47.97 kB / 0.6109 GB, free: 3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.552, allocations: 47.97 kB / 0.611 GB, free: 2.953 MB / 478.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.0005739/0.5526, allocations: 372.9 kB / 0.6113 GB, free: 2.578 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.5528, allocations: 94.88 kB / 0.6114 GB, free: 2.484 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.5552, allocations: 1.392 MB / 0.6128 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.5552, allocations: 11.98 kB / 0.6128 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5552, allocations: 4 kB / 0.6128 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5552, allocations: 0 / 0.6128 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/0.5591, allocations: 2.353 MB / 0.6151 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.5591, allocations: 0 / 0.6151 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.5596, allocations: 95.94 kB / 0.6152 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001484/0.5611, allocations: 0.5175 MB / 0.6157 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.294e-05/0.5612, allocations: 23.98 kB / 0.6157 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/0.5635, allocations: 2.914 MB / 0.6185 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5635, allocations: 4.031 kB / 0.6186 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.5662, allocations: 1.777 MB / 0.6203 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000686/0.5669, allocations: 315.7 kB / 0.6206 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.5671, allocations: 16.06 kB / 0.6206 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007129/0.5679, allocations: 35.97 kB / 0.6206 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.568, allocations: 56.47 kB / 0.6207 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.639e-05/0.5681, allocations: 35.91 kB / 0.6207 GB, free: 8.539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.5691, allocations: 0.6674 MB / 0.6214 GB, free: 7.859 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5691, allocations: 0 / 0.6214 GB, free: 7.859 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002669/0.5718, allocations: 0.816 MB / 0.6222 GB, free: 7.043 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 (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.001773/0.5736, allocations: 0.641 MB / 0.6228 GB, free: 6.398 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003837/0.5774, allocations: 1.91 MB / 0.6247 GB, free: 4.469 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.5774, allocations: 0 / 0.6247 GB, free: 4.469 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.5785, allocations: 0.568 MB / 0.6252 GB, free: 3.887 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.5803, allocations: 379.3 kB / 0.6256 GB, free: 3.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.5841, allocations: 2.233 MB / 0.6278 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.5848, allocations: 1.082 MB / 0.6288 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.1776/0.7624, allocations: 438.9 kB / 0.6292 GB, free: 148.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.7627, allocations: 83.83 kB / 0.6293 GB, free: 148.9 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.7627, allocations: 0 / 0.6293 GB, free: 148.9 MB / 494.1 MB Notification: Performance of Templates: time 0.03616/0.7989, allocations: 27.35 MB / 0.656 GB, free: 144.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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