Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001069/0.001069, allocations: 93.42 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 171.3 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2008/0.2008, allocations: 44.24 MB / 337.7 MB, free: 2.516 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002943, allocations: 9.344 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1101, allocations: 61.93 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.3975/0.5077, allocations: 148.7 MB / 0.6064 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01773/0.5255, allocations: 10.72 MB / 0.6168 GB, free: 2.652 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.527, allocations: 39.62 kB / 0.6169 GB, free: 2.613 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.5284, allocations: 358.1 kB / 0.6172 GB, free: 2.262 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003925/0.5323, allocations: 1.367 MB / 0.6185 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005948/0.5383, allocations: 2.285 MB / 0.6208 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00464/0.5429, allocations: 3.902 MB / 0.6246 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.5444, allocations: 0.6415 MB / 0.6252 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.5463, allocations: 0.8873 MB / 0.6261 GB, free: 9.16 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.5484, allocations: 1.121 MB / 0.6272 GB, free: 8.035 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003353/0.5487, allocations: 56 kB / 0.6272 GB, free: 7.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004502/0.5532, allocations: 1.977 MB / 0.6292 GB, free: 6 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006862/0.5539, allocations: 362.9 kB / 0.6295 GB, free: 5.645 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.5551, allocations: 0.5421 MB / 0.63 GB, free: 5.094 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005049/0.5602, allocations: 2.521 MB / 0.6325 GB, free: 2.566 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5602, allocations: 0 / 0.6325 GB, free: 2.566 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5602, allocations: 0 / 0.6325 GB, free: 2.566 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.617e-05/0.5603, allocations: 0 / 0.6325 GB, free: 2.566 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.003634/0.5639, allocations: 1.386 MB / 0.6339 GB, free: 1.129 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.564, allocations: 8.031 kB / 0.6339 GB, free: 1.121 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005539/0.5645, allocations: 118.8 kB / 0.634 GB, free: 1.004 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.5658, allocations: 0.7175 MB / 0.6347 GB, free: 248 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.566, allocations: 116.7 kB / 0.6348 GB, free: 120 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.5662, allocations: 71.97 kB / 0.6349 GB, free: 48 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.5682, allocations: 1.204 MB / 0.636 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.5682, allocations: 7.922 kB / 0.636 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.5683, allocations: 35.97 kB / 0.6361 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.5685, allocations: 77.95 kB / 0.6361 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.5704, allocations: 1.202 MB / 0.6373 GB, free: 13.49 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.008459/0.5789, allocations: 4.918 MB / 0.6421 GB, free: 8.281 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.5802, allocations: 0.6832 MB / 0.6428 GB, free: 7.594 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006555/0.5809, allocations: 426.2 kB / 0.6432 GB, free: 7.176 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003455/0.5844, allocations: 2.449 MB / 0.6456 GB, free: 4.512 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.5844, allocations: 43 kB / 0.6456 GB, free: 4.461 MB / 478.1 MB Notification: Performance of pre-optimization done (n=52): time 2.144e-06/0.5844, allocations: 0 / 0.6456 GB, free: 4.461 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.00746/0.5919, allocations: 3.038 MB / 0.6486 GB, free: 1.309 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.592, allocations: 162.8 kB / 0.6488 GB, free: 1.113 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.5934, allocations: 0.9543 MB / 0.6497 GB, free: 152 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.736e-05/0.5934, allocations: 37.7 kB / 0.6497 GB, free: 108 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.5938, allocations: 475.1 kB / 0.6502 GB, free: 15.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.5941, allocations: 201.1 kB / 0.6504 GB, free: 15.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.5943, allocations: 85.67 kB / 0.6504 GB, free: 15.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5944, allocations: 341.9 kB / 0.6508 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007823/0.5952, allocations: 461.7 kB / 0.6512 GB, free: 14.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009315/0.5961, allocations: 0.7038 MB / 0.6519 GB, free: 13.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.5978, allocations: 1.085 MB / 0.653 GB, free: 12.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.5978, allocations: 4 kB / 0.653 GB, free: 12.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003036/0.6009, allocations: 1.566 MB / 0.6545 GB, free: 10.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000237/0.6011, allocations: 294 kB / 0.6548 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.6011, allocations: 4 kB / 0.6548 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/0.6029, allocations: 0.5263 MB / 0.6553 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/0.6037, allocations: 187.7 kB / 0.6555 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/0.6066, allocations: 2.939 MB / 0.6583 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.6078, allocations: 55.98 kB / 0.6584 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.6079, allocations: 47.98 kB / 0.6584 GB, free: 6.629 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.608, allocations: 7.938 kB / 0.6584 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002702/0.6107, allocations: 1.405 MB / 0.6598 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.6107, allocations: 8 kB / 0.6598 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.6119, allocations: 430.3 kB / 0.6602 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007407/0.6126, allocations: 183.7 kB / 0.6604 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.6151, allocations: 2.83 MB / 0.6632 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/0.6161, allocations: 56.06 kB / 0.6632 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.6162, allocations: 43.98 kB / 0.6633 GB, free: 1.457 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.0006105/0.6168, allocations: 377.2 kB / 0.6636 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.6171, allocations: 94.78 kB / 0.6637 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.6196, allocations: 1.394 MB / 0.6651 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.6196, allocations: 8 kB / 0.6651 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.6197, allocations: 3.984 kB / 0.6651 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6197, allocations: 0 / 0.6651 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003809/0.6235, allocations: 2.341 MB / 0.6674 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.6235, allocations: 0 / 0.6674 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.624, allocations: 91.88 kB / 0.6675 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/0.6256, allocations: 0.5138 MB / 0.668 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/0.6257, allocations: 19.98 kB / 0.668 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/0.6283, allocations: 2.911 MB / 0.6708 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6283, allocations: 0 / 0.6708 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/0.6311, allocations: 1.758 MB / 0.6726 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000618/0.6318, allocations: 307.7 kB / 0.6728 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.632, allocations: 12 kB / 0.6729 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007478/0.6328, allocations: 43.81 kB / 0.6729 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.6329, allocations: 60.48 kB / 0.673 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.4e-05/0.633, allocations: 35.97 kB / 0.673 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009981/0.634, allocations: 0.6713 MB / 0.6736 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.634, allocations: 192 / 0.6736 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002282/0.6363, allocations: 0.816 MB / 0.6744 GB, free: 5.602 MB / 0.4981 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.001795/0.6381, allocations: 0.657 MB / 0.6751 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004012/0.6422, allocations: 1.906 MB / 0.6769 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.6422, allocations: 4 kB / 0.6769 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.6434, allocations: 0.576 MB / 0.6775 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.6459, allocations: 410.8 kB / 0.6779 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.65, allocations: 2.349 MB / 0.6802 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/0.6508, allocations: 1.058 MB / 0.6812 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001854/0.6527, allocations: 447.2 kB / 0.6817 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/0.6531, allocations: 95.39 kB / 0.6817 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of SimCode: time 1.953e-06/0.6531, allocations: 3.938 kB / 0.6818 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of Templates: time 0.04998/0.7031, allocations: 28.26 MB / 0.7094 GB, free: 1.957 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches