Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 112.8 kB / 17.09 MB, free: 5.98 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.001765/0.001765, allocations: 198 kB / 18.03 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2071/0.2071, allocations: 43.54 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 67.91 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1222, allocations: 57.78 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.04396/0.1662, allocations: 41.65 MB / 0.5292 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.286/0.4522, allocations: 19.84 MB / 0.5486 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009673/0.4532, allocations: 21.41 kB / 0.5486 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.4546, allocations: 448.5 kB / 0.549 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02033/0.475, allocations: 5.174 MB / 0.5541 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009335/0.4843, allocations: 2.406 MB / 0.5564 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003018/0.4873, allocations: 1.67 MB / 0.5581 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009435/0.4883, allocations: 472.2 kB / 0.5585 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.4899, allocations: 0.7364 MB / 0.5592 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008103/0.498, allocations: 3.651 MB / 0.5628 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.4982, allocations: 68.72 kB / 0.5629 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01807/0.5163, allocations: 7.852 MB / 0.5705 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003731/0.5167, allocations: 187.8 kB / 0.5707 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007891/0.5175, allocations: 421.9 kB / 0.5711 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01371/0.5312, allocations: 5.319 MB / 0.5763 GB, free: 10.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.5313, allocations: 0 / 0.5763 GB, free: 10.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5313, allocations: 0 / 0.5763 GB, free: 10.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.947e-05/0.5314, allocations: 0 / 0.5763 GB, free: 10.29 MB / 430.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.005404/0.5368, allocations: 1.725 MB / 0.578 GB, free: 9.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.5368, allocations: 14.48 kB / 0.578 GB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.5394, allocations: 299.7 kB / 0.5783 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.5408, allocations: 0.5657 MB / 0.5789 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/0.5409, allocations: 51.09 kB / 0.5789 GB, free: 8.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.541, allocations: 56.5 kB / 0.579 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/0.5437, allocations: 0.9734 MB / 0.5799 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.5438, allocations: 0 / 0.5799 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.2e-05/0.5439, allocations: 23.66 kB / 0.5799 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/0.5439, allocations: 26.25 kB / 0.58 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/0.5465, allocations: 0.8644 MB / 0.5808 GB, free: 7.359 MB / 430.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.005353/0.5518, allocations: 4.555 MB / 0.5853 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/0.5543, allocations: 0.7381 MB / 0.586 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/0.555, allocations: 310 kB / 0.5863 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1081/0.663, allocations: 56.04 MB / 0.641 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.6631, allocations: 38.98 kB / 0.641 GB, free: 2.828 MB / 494.1 MB Notification: Performance of pre-optimization done (n=48): time 3.787e-06/0.6631, allocations: 0 / 0.641 GB, free: 2.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=52): time 0.006821/0.67, allocations: 2.205 MB / 0.6432 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.67, allocations: 119.2 kB / 0.6433 GB, free: 440 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006503/0.6707, allocations: 0.5028 MB / 0.6438 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/0.6708, allocations: 37.7 kB / 0.6438 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.671, allocations: 332.8 kB / 0.6441 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.6712, allocations: 187.4 kB / 0.6443 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.6714, allocations: 134.3 kB / 0.6445 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.6716, allocations: 370.8 kB / 0.6448 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007024/0.6723, allocations: 283.2 kB / 0.6451 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007947/0.6731, allocations: 437.8 kB / 0.6455 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.6745, allocations: 0.6792 MB / 0.6462 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6745, allocations: 7.938 kB / 0.6462 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002326/0.6769, allocations: 0.9521 MB / 0.6471 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.6769, allocations: 8 kB / 0.6471 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6769, allocations: 4 kB / 0.6471 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/0.6794, allocations: 456.7 kB / 0.6475 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.6799, allocations: 131.8 kB / 0.6477 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.6814, allocations: 0.9152 MB / 0.6486 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006013/0.682, allocations: 47.97 kB / 0.6486 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.436e-05/0.6821, allocations: 39.97 kB / 0.6486 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008563/0.683, allocations: 413.2 kB / 0.649 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007783/0.6837, allocations: 432.1 kB / 0.6495 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001349/0.6851, allocations: 0.6565 MB / 0.6501 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.888e-06/0.6851, allocations: 0 / 0.6501 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002256/0.6874, allocations: 0.9207 MB / 0.651 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6874, allocations: 8.469 kB / 0.651 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6874, allocations: 7.938 kB / 0.651 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.6889, allocations: 316.5 kB / 0.6513 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.6894, allocations: 139.8 kB / 0.6514 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.6906, allocations: 0.8724 MB / 0.6523 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005756/0.6912, allocations: 52.02 kB / 0.6523 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.745e-05/0.6913, allocations: 27.98 kB / 0.6524 GB, free: 6.785 MB / 0.4981 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.0002646/0.6916, allocations: 226.8 kB / 0.6526 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.6918, allocations: 71.56 kB / 0.6527 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004008/0.6958, allocations: 2.863 MB / 0.6555 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.6958, allocations: 0 / 0.6555 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.6958, allocations: 4 kB / 0.6555 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.6962, allocations: 275.7 kB / 0.6557 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.6964, allocations: 35.83 kB / 0.6558 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005481/0.6969, allocations: 59.88 kB / 0.6558 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.6971, allocations: 52.48 kB / 0.6559 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00292/0.7, allocations: 1.73 MB / 0.6575 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003422/0.7034, allocations: 2.525 MB / 0.66 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001078/0.7045, allocations: 0.779 MB / 0.6608 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007225/0.7053, allocations: 471 kB / 0.6612 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of Backend: time 5.81e-07/0.7053, allocations: 3.938 kB / 0.6612 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01104/0.7163, allocations: 2.563 MB / 0.6637 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003871/0.7202, allocations: 2.487 MB / 0.6662 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of Templates: time 0.0793/0.7995, allocations: 56.05 MB / 0.7209 GB, free: 0.668 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpStorage/TestWaterPumpStorage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches