Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,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.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,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.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 175.7 kB / 16.76 MB, free: 5.02 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.607/1.607, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0008802/0.00088, allocations: 97.09 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4257/0.4257, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.000393, allocations: 20 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1435, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.511/6.654, allocations: 2.782 GB / 3.262 GB, free: 87.87 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/6.655, allocations: 88.52 kB / 3.262 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.467/8.122, allocations: 420.2 MB / 3.672 GB, free: 31.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.644e-06/8.122, allocations: 0 / 3.672 GB, free: 31.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.411e-05/8.122, allocations: 27.03 kB / 3.672 GB, free: 31.32 MB / 0.4948 GB 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.007603/8.129, allocations: 1.816 MB / 3.674 GB, free: 30.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/8.13, allocations: 10.62 kB / 3.674 GB, free: 30.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/8.132, allocations: 331.2 kB / 3.675 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/8.134, allocations: 0.5864 MB / 3.675 GB, free: 29.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/8.134, allocations: 48.28 kB / 3.675 GB, free: 29.72 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/8.134, allocations: 52.53 kB / 3.675 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/8.136, allocations: 1.009 MB / 3.676 GB, free: 29.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/8.136, allocations: 0 / 3.676 GB, free: 29.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/8.137, allocations: 27.69 kB / 3.676 GB, free: 29.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/8.137, allocations: 21.56 kB / 3.676 GB, free: 29.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/8.139, allocations: 0.9052 MB / 3.677 GB, free: 29.03 MB / 0.4948 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.005311/8.144, allocations: 4.807 MB / 3.682 GB, free: 25.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/8.146, allocations: 0.6949 MB / 3.683 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/8.147, allocations: 281.8 kB / 3.683 GB, free: 24.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04033/8.187, allocations: 24.09 MB / 3.706 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/8.187, allocations: 42.47 kB / 3.706 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=43): time 3.196e-06/8.187, allocations: 0 / 3.706 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43): time 0.006886/8.194, allocations: 1.74 MB / 3.708 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/8.194, allocations: 106.8 kB / 3.708 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007609/8.195, allocations: 0.5261 MB / 3.709 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8e-05/8.195, allocations: 29.7 kB / 3.709 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/8.195, allocations: 338.9 kB / 3.709 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/8.196, allocations: 153.7 kB / 3.709 GB, free: 6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/8.196, allocations: 12 kB / 3.709 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001063/8.196, allocations: 366.7 kB / 3.71 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/8.196, allocations: 241 kB / 3.71 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000631/8.197, allocations: 415.3 kB / 3.71 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/8.198, allocations: 0.6344 MB / 3.711 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/8.198, allocations: 0 / 3.711 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001799/8.2, allocations: 0.8217 MB / 3.712 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/8.2, allocations: 232 kB / 3.712 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/8.2, allocations: 4 kB / 3.712 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/8.202, allocations: 348.4 kB / 3.712 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/8.202, allocations: 139.8 kB / 3.712 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009018/8.203, allocations: 0.7913 MB / 3.713 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008238/8.204, allocations: 123.4 kB / 3.713 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/8.204, allocations: 31.98 kB / 3.713 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/8.204, allocations: 4 kB / 3.713 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00197/8.206, allocations: 0.7616 MB / 3.714 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/8.206, allocations: 8.031 kB / 3.714 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009575/8.207, allocations: 208.7 kB / 3.714 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/8.208, allocations: 139.8 kB / 3.714 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008725/8.209, allocations: 0.754 MB / 3.715 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000801/8.209, allocations: 111.4 kB / 3.715 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/8.209, allocations: 27.98 kB / 3.715 GB, free: 15.58 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 (55): * Single equations (assignments): 54 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005428/8.21, allocations: 286.7 kB / 3.715 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/8.21, allocations: 63.25 kB / 3.715 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004476/8.215, allocations: 3.019 MB / 3.718 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.98e-05/8.215, allocations: 43.88 kB / 3.718 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/8.215, allocations: 0 / 3.718 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/8.215, allocations: 3.984 kB / 3.718 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/8.217, allocations: 1.453 MB / 3.72 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/8.217, allocations: 4 kB / 3.72 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/8.217, allocations: 91.81 kB / 3.72 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002286/8.219, allocations: 1.061 MB / 3.721 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/8.22, allocations: 19.98 kB / 3.721 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/8.221, allocations: 1.435 MB / 3.722 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/8.221, allocations: 0 / 3.722 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/8.225, allocations: 2.028 MB / 3.724 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006126/8.225, allocations: 326.7 kB / 3.725 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/8.225, allocations: 4 kB / 3.725 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/8.226, allocations: 95.77 kB / 3.725 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/8.226, allocations: 44.48 kB / 3.725 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/8.226, allocations: 23.98 kB / 3.725 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007463/8.227, allocations: 459 kB / 3.725 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/8.227, allocations: 4 kB / 3.725 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006889/8.234, allocations: 1.412 MB / 3.727 GB, free: 3.605 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,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01019/8.244, allocations: 1.721 MB / 3.728 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003754/8.248, allocations: 1.337 MB / 3.73 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/8.248, allocations: 4.062 kB / 3.73 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.2695/8.517, allocations: 0.784 MB / 3.73 GB, free: 58.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/8.519, allocations: 315.9 kB / 3.731 GB, free: 58.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/8.523, allocations: 2.88 MB / 3.734 GB, free: 56.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000732/8.524, allocations: 1.131 MB / 3.735 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001496/8.525, allocations: 0.6542 MB / 3.735 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/8.526, allocations: 58.17 kB / 3.735 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of SimCode: time 7.91e-07/8.526, allocations: 0 / 3.735 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.06508/8.591, allocations: 45.18 MB / 3.779 GB, free: 55.24 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefault/TestWaterPumpDefault.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches