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.001281/0.001281, allocations: 111.7 kB / 18.46 MB, free: 4.617 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.00123/0.00123, allocations: 186.1 kB / 19.39 MB, free: 3.695 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.346/1.346, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2019/0.2019, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.358, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.0406/0.3986, allocations: 41.65 MB / 0.5602 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02431/0.423, allocations: 19.87 MB / 0.5796 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008253/0.4238, allocations: 27.81 kB / 0.5797 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.4251, allocations: 441.2 kB / 0.5801 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01392/0.4391, allocations: 5.178 MB / 0.5852 GB, free: 8.766 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006195/0.4453, allocations: 2.443 MB / 0.5875 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002125/0.4474, allocations: 1.673 MB / 0.5892 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007353/0.4482, allocations: 453.7 kB / 0.5896 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.4497, allocations: 0.7471 MB / 0.5903 GB, free: 3.434 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008356/0.458, allocations: 3.65 MB / 0.5939 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002301/0.4583, allocations: 68 kB / 0.594 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01544/0.4737, allocations: 7.816 MB / 0.6016 GB, free: 7.836 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003532/0.4741, allocations: 191.3 kB / 0.6018 GB, free: 7.648 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007186/0.4748, allocations: 434 kB / 0.6022 GB, free: 7.223 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.4865, allocations: 5.301 MB / 0.6074 GB, free: 1.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4865, allocations: 0 / 0.6074 GB, free: 1.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4865, allocations: 0 / 0.6074 GB, free: 1.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.654e-05/0.4865, allocations: 0 / 0.6074 GB, free: 1.91 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.004676/0.4912, allocations: 1.684 MB / 0.609 GB, free: 180 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4913, allocations: 8.031 kB / 0.609 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002566/0.4939, allocations: 299.7 kB / 0.6093 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.495, allocations: 0.5483 MB / 0.6098 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/0.4951, allocations: 49.25 kB / 0.6099 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.4952, allocations: 71.91 kB / 0.61 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.4977, allocations: 0.9634 MB / 0.6109 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.4977, allocations: 3.938 kB / 0.6109 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.561e-05/0.4978, allocations: 24 kB / 0.6109 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.4978, allocations: 24.98 kB / 0.6109 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.5004, allocations: 0.8623 MB / 0.6118 GB, free: 13.23 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.005139/0.5055, allocations: 4.553 MB / 0.6162 GB, free: 8.254 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.508, allocations: 0.7459 MB / 0.617 GB, free: 7.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00067/0.5087, allocations: 302 kB / 0.6173 GB, free: 7.203 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1146/0.6233, allocations: 56.05 MB / 0.672 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.6234, allocations: 47 kB / 0.672 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 3.246e-06/0.6234, allocations: 0 / 0.672 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.007059/0.6305, allocations: 2.198 MB / 0.6742 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.6306, allocations: 107.2 kB / 0.6743 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007118/0.6313, allocations: 0.5144 MB / 0.6748 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/0.6314, allocations: 33.7 kB / 0.6748 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.6316, allocations: 332.2 kB / 0.6751 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.6318, allocations: 181.4 kB / 0.6753 GB, free: 5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.632, allocations: 134.2 kB / 0.6754 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6321, allocations: 370.8 kB / 0.6758 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006948/0.6328, allocations: 275.3 kB / 0.6761 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008914/0.6337, allocations: 437.8 kB / 0.6765 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.6352, allocations: 0.6753 MB / 0.6771 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.6352, allocations: 4 kB / 0.6771 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002452/0.6377, allocations: 0.9598 MB / 0.6781 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6377, allocations: 10.84 kB / 0.6781 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.6377, allocations: 4 kB / 0.6781 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002302/0.64, allocations: 458.5 kB / 0.6785 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.6405, allocations: 123.8 kB / 0.6786 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.642, allocations: 0.9111 MB / 0.6795 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/0.6426, allocations: 43.95 kB / 0.6796 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.73e-05/0.6427, allocations: 43.86 kB / 0.6796 GB, free: 424 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008626/0.6435, allocations: 413.3 kB / 0.68 GB, free: 8 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008056/0.6444, allocations: 430.6 kB / 0.6804 GB, free: 15.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001379/0.6457, allocations: 0.6682 MB / 0.6811 GB, free: 14.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.6458, allocations: 0 / 0.6811 GB, free: 14.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002192/0.648, allocations: 0.9009 MB / 0.682 GB, free: 13.87 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.648, allocations: 11.94 kB / 0.682 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.648, allocations: 4 kB / 0.682 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.6494, allocations: 325 kB / 0.6823 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.6499, allocations: 135.7 kB / 0.6824 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.6511, allocations: 0.8774 MB / 0.6833 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000561/0.6517, allocations: 43.95 kB / 0.6833 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-05/0.6518, allocations: 36.05 kB / 0.6833 GB, free: 12.42 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.0002303/0.652, allocations: 220.1 kB / 0.6836 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.6522, allocations: 63.25 kB / 0.6836 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003655/0.6558, allocations: 2.865 MB / 0.6864 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.6559, allocations: 3.984 kB / 0.6864 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6559, allocations: 3.984 kB / 0.6864 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/0.6562, allocations: 275 kB / 0.6867 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.6564, allocations: 31.69 kB / 0.6867 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/0.6569, allocations: 63.92 kB / 0.6868 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.6571, allocations: 48.48 kB / 0.6868 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002745/0.6598, allocations: 1.724 MB / 0.6885 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003372/0.6632, allocations: 2.517 MB / 0.691 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001009/0.6642, allocations: 0.779 MB / 0.6917 GB, free: 3.777 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006209/0.6649, allocations: 463 kB / 0.6922 GB, free: 3.32 MB / 0.545 GB Notification: Performance of Backend: time 1.022e-06/0.6649, allocations: 4 kB / 0.6922 GB, free: 3.316 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009573/0.6744, allocations: 2.543 MB / 0.6946 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of SimCode: time 0.003624/0.6781, allocations: 2.477 MB / 0.6971 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.3282/1.006, allocations: 56.13 MB / 0.7519 GB, free: 187.5 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