Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.001618/0.001625, allocations: 107.7 kB / 18.46 MB, free: 4.594 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.001808/0.001807, allocations: 186.1 kB / 19.39 MB, free: 3.672 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.432/1.432, allocations: 222.9 MB / 243.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2168/0.2168, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3251, allocations: 60.83 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.04315/0.3683, allocations: 41.64 MB / 0.5603 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02463/0.393, allocations: 19.87 MB / 0.5797 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009827/0.394, allocations: 23.81 kB / 0.5797 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.3953, allocations: 441.2 kB / 0.5801 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01651/0.4118, allocations: 5.177 MB / 0.5852 GB, free: 8.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008577/0.4204, allocations: 2.45 MB / 0.5876 GB, free: 6.281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002985/0.4234, allocations: 1.669 MB / 0.5892 GB, free: 4.602 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009813/0.4244, allocations: 457.8 kB / 0.5896 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.4264, allocations: 0.7432 MB / 0.5903 GB, free: 3.395 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008096/0.4345, allocations: 3.65 MB / 0.5939 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002626/0.4348, allocations: 64 kB / 0.594 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0165/0.4513, allocations: 7.82 MB / 0.6016 GB, free: 7.797 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.4517, allocations: 191.3 kB / 0.6018 GB, free: 7.609 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000729/0.4524, allocations: 422.1 kB / 0.6022 GB, free: 7.195 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01313/0.4656, allocations: 5.315 MB / 0.6074 GB, free: 1.867 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4656, allocations: 0 / 0.6074 GB, free: 1.867 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4656, allocations: 0 / 0.6074 GB, free: 1.867 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.552e-05/0.4657, allocations: 0 / 0.6074 GB, free: 1.867 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005574/0.4713, allocations: 1.737 MB / 0.6091 GB, free: 76 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4713, allocations: 8.031 kB / 0.6091 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.4739, allocations: 308.2 kB / 0.6094 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.4751, allocations: 0.5603 MB / 0.6099 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/0.4752, allocations: 53.25 kB / 0.61 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.4753, allocations: 59.89 kB / 0.61 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.4778, allocations: 0.9633 MB / 0.611 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.4779, allocations: 7.938 kB / 0.611 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.489e-05/0.478, allocations: 28 kB / 0.611 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.478, allocations: 20.98 kB / 0.611 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.4806, allocations: 0.8662 MB / 0.6119 GB, free: 13.11 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.005251/0.4858, allocations: 4.546 MB / 0.6163 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.4884, allocations: 0.7497 MB / 0.617 GB, free: 7.383 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006833/0.4891, allocations: 313.7 kB / 0.6173 GB, free: 7.078 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.12/0.6091, allocations: 56.06 MB / 0.6721 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.6092, allocations: 38.94 kB / 0.6721 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 3.486e-06/0.6092, allocations: 0 / 0.6721 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.007552/0.6168, allocations: 2.207 MB / 0.6743 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.6169, allocations: 115.2 kB / 0.6744 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008019/0.6177, allocations: 0.5106 MB / 0.6749 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.425e-05/0.6178, allocations: 37.7 kB / 0.6749 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.6181, allocations: 332.8 kB / 0.6752 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.6183, allocations: 182.4 kB / 0.6754 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.6185, allocations: 134.3 kB / 0.6755 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.6187, allocations: 370.8 kB / 0.6759 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007415/0.6194, allocations: 279.3 kB / 0.6762 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009057/0.6203, allocations: 441.8 kB / 0.6766 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.622, allocations: 0.6792 MB / 0.6773 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.622, allocations: 0 / 0.6773 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002537/0.6245, allocations: 0.9636 MB / 0.6782 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.6246, allocations: 8 kB / 0.6782 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.6246, allocations: 4 kB / 0.6782 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/0.6272, allocations: 459.2 kB / 0.6786 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/0.6277, allocations: 131.8 kB / 0.6788 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.6294, allocations: 0.9153 MB / 0.6797 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/0.6301, allocations: 44.03 kB / 0.6797 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.34e-05/0.6302, allocations: 39.92 kB / 0.6797 GB, free: 256 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001008/0.6312, allocations: 409.3 kB / 0.6801 GB, free: 15.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008917/0.6321, allocations: 426.7 kB / 0.6805 GB, free: 15.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00151/0.6336, allocations: 0.6643 MB / 0.6812 GB, free: 14.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.689e-05/0.6337, allocations: 0 / 0.6812 GB, free: 14.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002406/0.6361, allocations: 0.9095 MB / 0.6821 GB, free: 13.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.6361, allocations: 20.02 kB / 0.6821 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.6361, allocations: 4 kB / 0.6821 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/0.6378, allocations: 320.5 kB / 0.6824 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/0.6383, allocations: 131.8 kB / 0.6825 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.6395, allocations: 0.8707 MB / 0.6834 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006133/0.6402, allocations: 51.89 kB / 0.6834 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/0.6402, allocations: 31.98 kB / 0.6835 GB, free: 12.26 MB / 0.545 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.000291/0.6405, allocations: 224 kB / 0.6837 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.6407, allocations: 63.62 kB / 0.6837 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004019/0.6448, allocations: 2.867 MB / 0.6865 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.6448, allocations: 3.984 kB / 0.6865 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.6448, allocations: 4 kB / 0.6865 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/0.6452, allocations: 283.7 kB / 0.6868 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.6453, allocations: 31.84 kB / 0.6868 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/0.6459, allocations: 51.92 kB / 0.6869 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.6461, allocations: 56.48 kB / 0.6869 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00302/0.6491, allocations: 1.732 MB / 0.6886 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003601/0.6527, allocations: 2.521 MB / 0.6911 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001073/0.6538, allocations: 0.779 MB / 0.6919 GB, free: 3.594 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006293/0.6544, allocations: 467 kB / 0.6923 GB, free: 3.133 MB / 0.545 GB Notification: Performance of Backend: time 5.21e-07/0.6544, allocations: 0 / 0.6923 GB, free: 3.133 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01024/0.6647, allocations: 2.568 MB / 0.6948 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of SimCode: time 0.003859/0.6686, allocations: 2.501 MB / 0.6973 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of Templates: time 0.3569/1.025, allocations: 56.13 MB / 0.7521 GB, free: 187 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpStorage/TestWaterPumpStorage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches