Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.001806/0.001806, allocations: 112.3 kB / 21.18 MB, free: 0.6289 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.002121/0.002121, allocations: 211 kB / 24.48 MB, free: 4.035 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.443/1.443, 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.2234/0.2234, 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.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") [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.002314/0.002314, allocations: 91.83 kB / 0.4968 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3369, allocations: 65.98 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.04727/0.3842, allocations: 42.43 MB / 0.6026 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02687/0.411, allocations: 20.02 MB / 0.6222 GB, free: 6.375 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009287/0.412, allocations: 23.81 kB / 0.6222 GB, free: 6.352 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.4132, allocations: 437.2 kB / 0.6226 GB, free: 5.922 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01363/0.4268, allocations: 5.205 MB / 0.6277 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006755/0.4335, allocations: 2.449 MB / 0.6301 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002574/0.4361, allocations: 1.676 MB / 0.6317 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007083/0.4368, allocations: 397.8 kB / 0.6321 GB, free: 12.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.4385, allocations: 0.7472 MB / 0.6329 GB, free: 11.43 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007365/0.4458, allocations: 3.689 MB / 0.6365 GB, free: 7.688 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002377/0.4461, allocations: 64 kB / 0.6365 GB, free: 7.625 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01567/0.4617, allocations: 7.859 MB / 0.6442 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.4621, allocations: 191.2 kB / 0.6444 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006164/0.4627, allocations: 426 kB / 0.6448 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.4756, allocations: 5.331 MB / 0.65 GB, free: 9.809 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4756, allocations: 0 / 0.65 GB, free: 9.809 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4756, allocations: 0 / 0.65 GB, free: 9.809 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.4756, allocations: 0 / 0.65 GB, free: 9.809 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.004858/0.4805, allocations: 1.733 MB / 0.6517 GB, free: 8.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.4805, allocations: 8.031 kB / 0.6517 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/0.4828, allocations: 308.1 kB / 0.652 GB, free: 7.711 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009923/0.4838, allocations: 0.5603 MB / 0.6525 GB, free: 7.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/0.4839, allocations: 49.25 kB / 0.6526 GB, free: 7.062 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.484, allocations: 60 kB / 0.6526 GB, free: 7.004 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/0.4866, allocations: 0.9749 MB / 0.6536 GB, free: 5.969 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.4866, allocations: 4 kB / 0.6536 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.4868, allocations: 20 kB / 0.6536 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/0.4868, allocations: 28.92 kB / 0.6536 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/0.4894, allocations: 0.8624 MB / 0.6545 GB, free: 5.055 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.006307/0.4958, allocations: 4.551 MB / 0.6589 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.4983, allocations: 0.7224 MB / 0.6596 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006802/0.499, allocations: 294 kB / 0.6599 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1309/0.6299, allocations: 62.32 MB / 0.7208 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.268e-05/0.63, allocations: 39 kB / 0.7208 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.655e-06/0.63, allocations: 4 kB / 0.7208 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=52): time 0.007164/0.6371, allocations: 2.222 MB / 0.723 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.6372, allocations: 107.2 kB / 0.7231 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006964/0.6379, allocations: 0.499 MB / 0.7236 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.155e-05/0.638, allocations: 37.7 kB / 0.7236 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.6382, allocations: 336.8 kB / 0.7239 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.6384, allocations: 190.3 kB / 0.7241 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.6386, allocations: 130.3 kB / 0.7242 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003072/0.6389, allocations: 378.8 kB / 0.7246 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007272/0.6396, allocations: 275.3 kB / 0.7249 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008954/0.6405, allocations: 440.6 kB / 0.7253 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.6421, allocations: 0.6753 MB / 0.7259 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6421, allocations: 0 / 0.7259 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002488/0.6446, allocations: 0.9442 MB / 0.7269 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.6446, allocations: 4 kB / 0.7269 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.6446, allocations: 16.45 kB / 0.7269 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002419/0.6471, allocations: 456.3 kB / 0.7273 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.6476, allocations: 123.8 kB / 0.7274 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.6492, allocations: 0.9192 MB / 0.7283 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000595/0.6498, allocations: 43.95 kB / 0.7284 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.6499, allocations: 39.92 kB / 0.7284 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009434/0.6508, allocations: 409.3 kB / 0.7288 GB, free: 328 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2533/0.9041, allocations: 422.1 kB / 0.7292 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001758/0.9059, allocations: 0.6655 MB / 0.7299 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.562e-06/0.9059, allocations: 1.531 kB / 0.7299 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002624/0.9085, allocations: 0.904 MB / 0.7307 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.9085, allocations: 13.11 kB / 0.7307 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.9085, allocations: 4.969 kB / 0.7308 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/0.9101, allocations: 325.4 kB / 0.7311 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.9106, allocations: 130.2 kB / 0.7312 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009796/0.9115, allocations: 0.8709 MB / 0.732 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005781/0.9121, allocations: 51.28 kB / 0.7321 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/0.9122, allocations: 31.62 kB / 0.7321 GB, free: 167.4 MB / 0.5606 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.0002154/0.9124, allocations: 224.3 kB / 0.7323 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.9125, allocations: 67.72 kB / 0.7324 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/0.9155, allocations: 2.862 MB / 0.7352 GB, free: 166 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.9155, allocations: 3.844 kB / 0.7352 GB, free: 166 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.9155, allocations: 3.562 kB / 0.7352 GB, free: 166 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.9158, allocations: 288.9 kB / 0.7355 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.9159, allocations: 29.52 kB / 0.7355 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/0.9164, allocations: 54.75 kB / 0.7356 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.9165, allocations: 59.05 kB / 0.7356 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002193/0.9187, allocations: 1.728 MB / 0.7373 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002585/0.9213, allocations: 2.524 MB / 0.7398 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000721/0.922, allocations: 0.6046 MB / 0.7404 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000445/0.9225, allocations: 471.9 kB / 0.7408 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of Backend: time 3.2e-07/0.9225, allocations: 0 / 0.7408 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007657/0.9301, allocations: 2.516 MB / 0.7433 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002681/0.9328, allocations: 2.506 MB / 0.7457 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.05541/0.9882, allocations: 56.74 MB / 0.8011 GB, free: 103.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpStorage/TestWaterPumpStorage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.920255679171532]