Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001641/0.001641, allocations: 114.3 kB / 21.18 MB, free: 0.6211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 212.9 kB / 24.48 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2294/0.2294, allocations: 46.89 MB / 361.1 MB, free: 4.656 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.TestTankWithTopPorts,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5008,variableFilter="time|tank.level|tank.medium.h|tank.aboveLevel.1.|tank.aboveLevel.2.|tank.aboveLevel.3.|tank.aboveLevel.4.|tank.ports_m_flow_out.1.|tank.ports_m_flow_out.2.|tank.ports_m_flow_out.3.|tank.ports_m_flow_out.4.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5008,variableFilter="time|tank.level|tank.medium.h|tank.aboveLevel.1.|tank.aboveLevel.2.|tank.aboveLevel.3.|tank.aboveLevel.4.|tank.ports_m_flow_out.1.|tank.ports_m_flow_out.2.|tank.ports_m_flow_out.3.|tank.ports_m_flow_out.4.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 75.88 kB / 0.4968 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3641, allocations: 65.98 MB / 0.5612 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.0666/0.4307, allocations: 60.29 MB / 0.6201 GB, free: 8.574 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02277/0.4535, allocations: 16.49 MB / 0.6362 GB, free: 8.031 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.4546, allocations: 15.94 kB / 0.6362 GB, free: 8.016 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.4561, allocations: 453.2 kB / 0.6366 GB, free: 7.57 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01604/0.4721, allocations: 5.009 MB / 0.6415 GB, free: 2.562 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007509/0.4796, allocations: 2.349 MB / 0.6438 GB, free: 220 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004423/0.4841, allocations: 2.762 MB / 0.6465 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.4855, allocations: 0.7118 MB / 0.6472 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006277/0.4918, allocations: 2.726 MB / 0.6499 GB, free: 9.965 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004847/0.4966, allocations: 2.474 MB / 0.6523 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002498/0.4969, allocations: 104 kB / 0.6524 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01453/0.5114, allocations: 7.38 MB / 0.6596 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005237/0.5119, allocations: 342.9 kB / 0.6599 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009297/0.5129, allocations: 0.5912 MB / 0.6605 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.5253, allocations: 5.482 MB / 0.6658 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.5253, allocations: 4 kB / 0.6658 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5253, allocations: 4 kB / 0.6658 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.356e-05/0.5254, allocations: 0 / 0.6658 GB, free: 9.539 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.005182/0.5306, allocations: 1.921 MB / 0.6677 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.5306, allocations: 8.031 kB / 0.6677 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002228/0.5328, allocations: 308 kB / 0.668 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.5341, allocations: 0.6771 MB / 0.6687 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002455/0.5344, allocations: 300.2 kB / 0.669 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.5345, allocations: 92.11 kB / 0.6691 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003254/0.5378, allocations: 1.504 MB / 0.6705 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.5378, allocations: 7.938 kB / 0.6705 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.5379, allocations: 36 kB / 0.6706 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.201e-05/0.538, allocations: 41.98 kB / 0.6706 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/0.5412, allocations: 1.338 MB / 0.6719 GB, free: 3.086 MB / 0.4981 GB 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.008877/0.5501, allocations: 6.398 MB / 0.6782 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002806/0.5529, allocations: 0.9247 MB / 0.6791 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009037/0.5538, allocations: 431.1 kB / 0.6795 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03559/0.5894, allocations: 17.19 MB / 0.6963 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.5894, allocations: 47.06 kB / 0.6963 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 2.655e-06/0.5894, allocations: 0 / 0.6963 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64): time 0.008721/0.5981, allocations: 2.972 MB / 0.6992 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.5982, allocations: 162.8 kB / 0.6994 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.5993, allocations: 0.8169 MB / 0.7002 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.607e-05/0.5994, allocations: 45.7 kB / 0.7002 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.5998, allocations: 452.4 kB / 0.7006 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.6, allocations: 230.1 kB / 0.7009 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003022/0.6003, allocations: 182.5 kB / 0.701 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002145/0.6005, allocations: 398.7 kB / 0.7014 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.6016, allocations: 429.7 kB / 0.7018 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.6028, allocations: 0.6688 MB / 0.7025 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.6047, allocations: 0.9687 MB / 0.7034 GB, free: 15.85 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6047, allocations: 0 / 0.7034 GB, free: 15.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002806/0.6075, allocations: 1.216 MB / 0.7046 GB, free: 14.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.6076, allocations: 8 kB / 0.7046 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.6076, allocations: 8 kB / 0.7046 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003975/0.608, allocations: 92.78 kB / 0.7047 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003257/0.6112, allocations: 335.9 kB / 0.705 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006667/0.6179, allocations: 6.801 MB / 0.7117 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.619, allocations: 71.92 kB / 0.7117 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.455e-05/0.6191, allocations: 47.97 kB / 0.7118 GB, free: 6.691 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 21 (Boundary_fixed.medium.phase,massFlowRate[2].medium.phase,massFlowRate[1].medium.phase,tank.aboveLevel[4],$PRE.tank.aboveLevel[4],tank.aboveLevel[3],$PRE.tank.aboveLevel[3],tank.aboveLevel[2],$PRE.tank.aboveLevel[2],tank.aboveLevel[1],$PRE.tank.aboveLevel[1],tank.ports_m_flow_out[4],$PRE.tank.ports_m_flow_out[4],tank.ports_m_flow_out[3],$PRE.tank.ports_m_flow_out[3],tank.ports_m_flow_out[2],$PRE.tank.ports_m_flow_out[2],tank.ports_m_flow_out[1],$PRE.tank.ports_m_flow_out[1],tank.heatTransfer.states[1].phase,Boundary_fixed.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0006723/0.6198, allocations: 339.8 kB / 0.7121 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.62, allocations: 95.38 kB / 0.7122 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003638/0.6237, allocations: 2.185 MB / 0.7143 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.6237, allocations: 4.047 kB / 0.7143 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.6237, allocations: 4 kB / 0.7143 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.624, allocations: 188.3 kB / 0.7145 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.6243, allocations: 79.38 kB / 0.7146 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008499/0.6251, allocations: 87.89 kB / 0.7147 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/0.6254, allocations: 112.4 kB / 0.7148 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00521/0.6306, allocations: 1.587 MB / 0.7163 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00364/0.6342, allocations: 2.1 MB / 0.7184 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001007/0.6353, allocations: 0.5242 MB / 0.7189 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001359/0.6366, allocations: 0.8884 MB / 0.7198 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of Backend: time 1.91e-07/0.6366, allocations: 3.938 kB / 0.7198 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01105/0.6477, allocations: 2.288 MB / 0.722 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of SimCode: time 0.005363/0.653, allocations: 3.003 MB / 0.7249 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of Templates: time 0.3259/0.9789, allocations: 59.81 MB / 0.7833 GB, free: 123 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestTankWithTopPorts/TestTankWithTopPorts.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.151407788041979]