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.0007658/0.0007658, allocations: 97.19 kB / 18.01 MB, free: 5.602 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.0008024/0.0008025, allocations: 180.5 kB / 18.91 MB, free: 4.734 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.369/1.369, allocations: 223.3 MB / 242.9 MB, free: 12 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.214/0.214, allocations: 44.25 MB / 338.3 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1142, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.4057/0.5199, allocations: 148.7 MB / 0.607 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01442/0.5343, allocations: 10.72 MB / 0.6175 GB, free: 2.629 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.5358, allocations: 35.69 kB / 0.6175 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.5372, allocations: 354.1 kB / 0.6179 GB, free: 2.246 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003874/0.5411, allocations: 1.362 MB / 0.6192 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006751/0.5478, allocations: 2.288 MB / 0.6214 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004401/0.5522, allocations: 3.914 MB / 0.6252 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.5533, allocations: 0.6439 MB / 0.6259 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.5551, allocations: 0.8757 MB / 0.6267 GB, free: 9.145 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.5571, allocations: 1.121 MB / 0.6278 GB, free: 8.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003882/0.5575, allocations: 52 kB / 0.6279 GB, free: 7.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004396/0.562, allocations: 1.985 MB / 0.6298 GB, free: 5.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006581/0.5626, allocations: 366.9 kB / 0.6302 GB, free: 5.621 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.5637, allocations: 0.5421 MB / 0.6307 GB, free: 5.07 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003139/0.5669, allocations: 1.847 MB / 0.6325 GB, free: 3.219 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.5669, allocations: 0 / 0.6325 GB, free: 3.219 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5669, allocations: 0 / 0.6325 GB, free: 3.219 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.852e-05/0.567, allocations: 0 / 0.6325 GB, free: 3.219 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.003714/0.5707, allocations: 1.383 MB / 0.6338 GB, free: 1.785 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5707, allocations: 8.031 kB / 0.6339 GB, free: 1.777 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006406/0.5714, allocations: 122.8 kB / 0.634 GB, free: 1.656 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.5728, allocations: 0.7097 MB / 0.6347 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.573, allocations: 116.7 kB / 0.6348 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/0.5732, allocations: 67.97 kB / 0.6348 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.5755, allocations: 1.204 MB / 0.636 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.5755, allocations: 3.938 kB / 0.636 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.5757, allocations: 31.98 kB / 0.6361 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.5758, allocations: 73.89 kB / 0.6361 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.5779, allocations: 1.206 MB / 0.6373 GB, free: 14.16 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.008878/0.5868, allocations: 4.93 MB / 0.6421 GB, free: 8.941 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.5881, allocations: 0.6841 MB / 0.6428 GB, free: 8.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006564/0.5888, allocations: 422.3 kB / 0.6432 GB, free: 7.836 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003431/0.5923, allocations: 2.449 MB / 0.6456 GB, free: 5.172 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.5923, allocations: 43 kB / 0.6456 GB, free: 5.121 MB / 478.1 MB Notification: Performance of pre-optimization done (n=52): time 2.635e-06/0.5923, allocations: 0 / 0.6456 GB, free: 5.121 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.007589/0.5999, allocations: 3.046 MB / 0.6486 GB, free: 1.961 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.215e-05/0.6, allocations: 158.8 kB / 0.6487 GB, free: 1.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.6014, allocations: 0.9543 MB / 0.6497 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.44e-05/0.6015, allocations: 37.7 kB / 0.6497 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.6019, allocations: 475.1 kB / 0.6502 GB, free: 300 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.6021, allocations: 201.1 kB / 0.6504 GB, free: 96 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.6022, allocations: 81.67 kB / 0.6504 GB, free: 8 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6024, allocations: 341.9 kB / 0.6508 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008219/0.6032, allocations: 469.7 kB / 0.6512 GB, free: 15.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009364/0.6042, allocations: 0.7038 MB / 0.6519 GB, free: 14.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.6057, allocations: 1.077 MB / 0.6529 GB, free: 13.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.6058, allocations: 0 / 0.6529 GB, free: 13.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002731/0.6085, allocations: 1.57 MB / 0.6545 GB, free: 11.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002212/0.6087, allocations: 294 kB / 0.6548 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.6088, allocations: 11.94 kB / 0.6548 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.6105, allocations: 0.5302 MB / 0.6553 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007732/0.6113, allocations: 191.7 kB / 0.6555 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.614, allocations: 2.935 MB / 0.6583 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.615, allocations: 52 kB / 0.6584 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.6152, allocations: 43.98 kB / 0.6584 GB, free: 7.285 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.6152, allocations: 10.59 kB / 0.6584 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002773/0.618, allocations: 1.417 MB / 0.6598 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.618, allocations: 4 kB / 0.6598 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.6192, allocations: 422.3 kB / 0.6602 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007667/0.62, allocations: 187.7 kB / 0.6604 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/0.6228, allocations: 2.83 MB / 0.6632 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.6239, allocations: 60.06 kB / 0.6632 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.624, allocations: 43.98 kB / 0.6633 GB, free: 2.105 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.0007023/0.6247, allocations: 369.2 kB / 0.6636 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.625, allocations: 98.78 kB / 0.6637 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/0.6275, allocations: 1.401 MB / 0.6651 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/0.6276, allocations: 8 kB / 0.6651 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6276, allocations: 0 / 0.6651 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.6276, allocations: 3.984 kB / 0.6651 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/0.6318, allocations: 2.334 MB / 0.6674 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.6318, allocations: 0 / 0.6674 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004851/0.6323, allocations: 87.89 kB / 0.6675 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/0.634, allocations: 0.5176 MB / 0.668 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.468e-05/0.6341, allocations: 15.98 kB / 0.668 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/0.637, allocations: 2.919 MB / 0.6708 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.637, allocations: 0 / 0.6708 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/0.6399, allocations: 1.761 MB / 0.6726 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005813/0.6405, allocations: 299.7 kB / 0.6728 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.6407, allocations: 19.98 kB / 0.6729 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007734/0.6415, allocations: 43.83 kB / 0.6729 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.6417, allocations: 56.53 kB / 0.673 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.363e-05/0.6418, allocations: 36.17 kB / 0.673 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001093/0.6429, allocations: 0.6674 MB / 0.6736 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.6429, allocations: 3.938 kB / 0.6736 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002408/0.6453, allocations: 0.8121 MB / 0.6744 GB, free: 6.254 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.001899/0.6472, allocations: 0.6525 MB / 0.6751 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004007/0.6512, allocations: 1.912 MB / 0.6769 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6513, allocations: 5.5 kB / 0.6769 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.6525, allocations: 0.5681 MB / 0.6775 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.6549, allocations: 410.1 kB / 0.6779 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/0.6592, allocations: 2.404 MB / 0.6802 GB, free: 248 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007774/0.66, allocations: 1.058 MB / 0.6813 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.6604, allocations: 103.4 kB / 0.6814 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of SimCode: time 1.433e-06/0.6604, allocations: 0 / 0.6814 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of Templates: time 0.2694/0.9298, allocations: 31.89 MB / 0.7125 GB, free: 201.4 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/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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches