Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 183.1 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 86.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2547/0.2547, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1498, allocations: 58.85 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.458/7.608, allocations: 2.782 GB / 3.261 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/7.608, allocations: 85.39 kB / 3.261 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.515/9.123, allocations: 441.1 MB / 3.692 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.495e-06/9.123, allocations: 0 / 3.692 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.235e-05/9.123, allocations: 23.56 kB / 3.692 GB, free: 56.5 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.009232/9.133, allocations: 1.861 MB / 3.694 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/9.133, allocations: 10.94 kB / 3.694 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/9.136, allocations: 331 kB / 3.694 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/9.137, allocations: 0.5798 MB / 3.694 GB, free: 54.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.461e-05/9.137, allocations: 51.06 kB / 3.695 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/9.137, allocations: 59.03 kB / 3.695 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/9.14, allocations: 1.02 MB / 3.696 GB, free: 54.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/9.14, allocations: 3.938 kB / 3.696 GB, free: 54.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/9.14, allocations: 27.56 kB / 3.696 GB, free: 54.47 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/9.14, allocations: 27.56 kB / 3.696 GB, free: 54.47 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/9.142, allocations: 0.9288 MB / 3.697 GB, free: 54.24 MB / 0.5105 GB 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.005665/9.148, allocations: 4.848 MB / 3.701 GB, free: 50.35 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/9.151, allocations: 0.8264 MB / 3.702 GB, free: 50.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03989/9.191, allocations: 24.08 MB / 3.726 GB, free: 34.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/9.191, allocations: 46.02 kB / 3.726 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 3.487e-06/9.191, allocations: 3.938 kB / 3.726 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.006938/9.198, allocations: 1.865 MB / 3.727 GB, free: 33.99 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/9.198, allocations: 107.1 kB / 3.728 GB, free: 33.87 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006917/9.198, allocations: 489.1 kB / 3.728 GB, free: 33.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.958e-05/9.199, allocations: 33.7 kB / 3.728 GB, free: 33.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/9.199, allocations: 332.5 kB / 3.728 GB, free: 33.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/9.199, allocations: 165.5 kB / 3.729 GB, free: 33.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/9.199, allocations: 11.38 kB / 3.729 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/9.199, allocations: 368.1 kB / 3.729 GB, free: 32.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006038/9.2, allocations: 269.5 kB / 3.729 GB, free: 32.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000637/9.2, allocations: 453.9 kB / 3.73 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/9.201, allocations: 314.1 kB / 3.73 GB, free: 32.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/9.201, allocations: 3.406 kB / 3.73 GB, free: 32.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001873/9.203, allocations: 0.8891 MB / 3.731 GB, free: 32.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003897/9.203, allocations: 2.008 MB / 3.733 GB, free: 29.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/9.203, allocations: 7.688 kB / 3.733 GB, free: 29.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002486/9.206, allocations: 478 kB / 3.733 GB, free: 29.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/9.206, allocations: 147 kB / 3.733 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/9.208, allocations: 0.8533 MB / 3.734 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008765/9.209, allocations: 131.2 kB / 3.734 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.027e-05/9.209, allocations: 39.41 kB / 3.734 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/9.209, allocations: 3.062 kB / 3.734 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00192/9.211, allocations: 0.8246 MB / 3.735 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/9.211, allocations: 3.219 kB / 3.735 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/9.212, allocations: 217.7 kB / 3.735 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/9.212, allocations: 154.7 kB / 3.735 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/9.213, allocations: 0.7603 MB / 3.736 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008058/9.214, allocations: 115.3 kB / 3.736 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.38e-05/9.214, allocations: 33.16 kB / 3.736 GB, free: 28.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004913/9.215, allocations: 303.2 kB / 3.737 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/9.215, allocations: 62.28 kB / 3.737 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/9.218, allocations: 3.082 MB / 3.74 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.273e-05/9.219, allocations: 41.53 kB / 3.74 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/9.219, allocations: 7.5 kB / 3.74 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/9.219, allocations: 0 / 3.74 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/9.22, allocations: 1.485 MB / 3.741 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/9.22, allocations: 0 / 3.741 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/9.22, allocations: 91.39 kB / 3.741 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002795/9.223, allocations: 1.242 MB / 3.743 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/9.223, allocations: 15.8 kB / 3.743 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/9.225, allocations: 1.506 MB / 3.744 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/9.225, allocations: 0 / 3.744 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/9.227, allocations: 2.087 MB / 3.746 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004915/9.228, allocations: 328.1 kB / 3.746 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/9.228, allocations: 15.95 kB / 3.746 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/9.229, allocations: 86.47 kB / 3.746 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/9.229, allocations: 47.39 kB / 3.747 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/9.229, allocations: 23.94 kB / 3.747 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006073/9.229, allocations: 475.8 kB / 3.747 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/9.229, allocations: 0 / 3.747 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006364/9.236, allocations: 1.442 MB / 3.748 GB, free: 20.42 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.00844/9.244, allocations: 1.709 MB / 3.75 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003484/9.248, allocations: 1.427 MB / 3.751 GB, free: 17.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/9.248, allocations: 4 kB / 3.751 GB, free: 17.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/9.249, allocations: 0.8023 MB / 3.752 GB, free: 17.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/9.251, allocations: 317 kB / 3.753 GB, free: 16.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/9.254, allocations: 2.936 MB / 3.755 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/9.255, allocations: 1.171 MB / 3.757 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001027/9.256, allocations: 0.6571 MB / 3.757 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/9.256, allocations: 53.97 kB / 3.757 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/9.256, allocations: 0 / 3.757 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.3152/9.571, allocations: 43.39 MB / 3.8 GB, free: 74.22 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultCV/TestWaterPumpDefaultCV.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches