Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002419/0.002419, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.232/0.232, allocations: 46.95 MB / 361.6 MB, free: 4.047 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 67.89 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4144, allocations: 66.05 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.04708/0.4614, allocations: 38.28 MB / 0.5992 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02891/0.4903, allocations: 17.82 MB / 0.6166 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.4914, allocations: 31.69 kB / 0.6166 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.4928, allocations: 397.3 kB / 0.617 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01529/0.5081, allocations: 5.197 MB / 0.6221 GB, free: 6.254 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007258/0.5153, allocations: 2.404 MB / 0.6244 GB, free: 3.855 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00271/0.518, allocations: 1.696 MB / 0.6261 GB, free: 2.152 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007017/0.5187, allocations: 405.9 kB / 0.6265 GB, free: 1.742 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.5203, allocations: 0.7511 MB / 0.6272 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007935/0.5282, allocations: 3.685 MB / 0.6308 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003972/0.5286, allocations: 64 kB / 0.6309 GB, free: 13.19 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0182/0.5468, allocations: 7.711 MB / 0.6384 GB, free: 5.469 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004576/0.5473, allocations: 195.3 kB / 0.6386 GB, free: 5.277 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007508/0.548, allocations: 358.5 kB / 0.6389 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01808/0.5661, allocations: 5.296 MB / 0.6441 GB, free: 15.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/0.5661, allocations: 0 / 0.6441 GB, free: 15.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.5661, allocations: 0 / 0.6441 GB, free: 15.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.5661, allocations: 7.938 kB / 0.6441 GB, free: 15.61 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006527/0.5727, allocations: 1.654 MB / 0.6457 GB, free: 13.92 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.5727, allocations: 11.97 kB / 0.6458 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002439/0.5752, allocations: 304.2 kB / 0.646 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.5765, allocations: 498.7 kB / 0.6465 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/0.5766, allocations: 53.25 kB / 0.6466 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.5767, allocations: 59.94 kB / 0.6466 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.5796, allocations: 1.172 MB / 0.6478 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.5796, allocations: 3.938 kB / 0.6478 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.869e-05/0.5797, allocations: 24 kB / 0.6478 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.411e-05/0.5797, allocations: 21 kB / 0.6478 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/0.5823, allocations: 0.8584 MB / 0.6487 GB, free: 10.8 MB / 494.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.00521/0.5875, allocations: 2.994 MB / 0.6516 GB, free: 7.707 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.5901, allocations: 0.7263 MB / 0.6523 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007155/0.5908, allocations: 290 kB / 0.6526 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1122/0.703, allocations: 30.66 MB / 0.6825 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.508e-05/0.703, allocations: 43 kB / 0.6825 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 2.825e-06/0.703, allocations: 3.938 kB / 0.6826 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52): time 0.007276/0.7103, allocations: 2.131 MB / 0.6846 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/0.7104, allocations: 115.2 kB / 0.6847 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006377/0.711, allocations: 469.9 kB / 0.6852 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.7111, allocations: 29.7 kB / 0.6852 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.7114, allocations: 344.6 kB / 0.6855 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.7115, allocations: 194.4 kB / 0.6857 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.7118, allocations: 138.2 kB / 0.6859 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.712, allocations: 362.8 kB / 0.6862 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006943/0.7127, allocations: 275.3 kB / 0.6865 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008836/0.7135, allocations: 489.1 kB / 0.6869 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.7151, allocations: 0.6782 MB / 0.6876 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.7151, allocations: 4 kB / 0.6876 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002544/0.7176, allocations: 0.9388 MB / 0.6885 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.7176, allocations: 4.469 kB / 0.6885 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.7177, allocations: 12 kB / 0.6885 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/0.7202, allocations: 452.3 kB / 0.689 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.7207, allocations: 131.8 kB / 0.6891 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.7223, allocations: 0.9076 MB / 0.69 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006214/0.723, allocations: 43.97 kB / 0.69 GB, free: 0 / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.452e-05/0.7231, allocations: 31.98 kB / 0.6901 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009171/0.724, allocations: 421.1 kB / 0.6905 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008566/0.7248, allocations: 483.7 kB / 0.6909 GB, free: 15 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001474/0.7263, allocations: 0.6595 MB / 0.6916 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.286e-06/0.7263, allocations: 0 / 0.6916 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002385/0.7287, allocations: 0.9002 MB / 0.6924 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.7287, allocations: 8 kB / 0.6924 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.7287, allocations: 4 kB / 0.6925 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.7303, allocations: 326.7 kB / 0.6928 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.7308, allocations: 131.8 kB / 0.6929 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.7321, allocations: 0.8703 MB / 0.6937 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/0.7326, allocations: 47.97 kB / 0.6938 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-05/0.7327, allocations: 35.98 kB / 0.6938 GB, free: 11.93 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Sink.medium.phase,Source.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(2,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003025/0.733, allocations: 224 kB / 0.694 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.7331, allocations: 59.62 kB / 0.6941 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004216/0.7374, allocations: 2.968 MB / 0.697 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.7374, allocations: 7.922 kB / 0.697 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.7374, allocations: 0 / 0.697 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/0.7378, allocations: 194.7 kB / 0.6972 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.7379, allocations: 35.72 kB / 0.6972 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/0.7384, allocations: 55.94 kB / 0.6973 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.7386, allocations: 64.53 kB / 0.6973 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002975/0.7415, allocations: 1.748 MB / 0.699 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003711/0.7453, allocations: 2.597 MB / 0.7016 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001026/0.7463, allocations: 0.6234 MB / 0.7022 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006256/0.7469, allocations: 427 kB / 0.7026 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of Backend: time 4.71e-07/0.7469, allocations: 0 / 0.7026 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0108/0.7577, allocations: 2.502 MB / 0.705 GB, free: 396 kB / 0.5294 GB Notification: Performance of SimCode: time 0.003794/0.7615, allocations: 2.456 MB / 0.7074 GB, free: 13.88 MB / 0.545 GB Notification: Performance of Templates: time 0.3623/1.124, allocations: 56.8 MB / 0.7629 GB, free: 147.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpStorage/TestWaterPumpStorage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.325676890002796]