Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,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.TestWaterPumpNPSH") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,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.TestWaterPumpNPSH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002485/0.002485, allocations: 175.5 kB / 16.76 MB, free: 4.906 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.732/1.732, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.001089/0.001089, allocations: 87.86 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.3884/0.3884, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004043, allocations: 16 kB / 432.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1363, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.955/6.091, allocations: 2.787 GB / 3.267 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/6.092, allocations: 86.12 kB / 3.267 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.296/7.388, allocations: 421.2 MB / 3.678 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.725e-06/7.388, allocations: 3.906 kB / 3.678 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.205e-05/7.388, allocations: 21.88 kB / 3.679 GB, free: 60.46 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.007445/7.395, allocations: 1.83 MB / 3.68 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/7.395, allocations: 9.969 kB / 3.68 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002748/7.398, allocations: 355.8 kB / 3.681 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/7.399, allocations: 0.59 MB / 3.681 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.621e-05/7.399, allocations: 48.81 kB / 3.681 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/7.4, allocations: 58.59 kB / 3.681 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/7.402, allocations: 1.021 MB / 3.682 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/7.402, allocations: 8.656 kB / 3.682 GB, free: 59.26 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-05/7.402, allocations: 25.19 kB / 3.682 GB, free: 59.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/7.402, allocations: 26.17 kB / 3.682 GB, free: 59.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/7.405, allocations: 0.918 MB / 3.683 GB, free: 59.26 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.005088/7.41, allocations: 4.924 MB / 3.688 GB, free: 55.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/7.412, allocations: 0.7865 MB / 3.689 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/7.413, allocations: 291.1 kB / 3.689 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04041/7.453, allocations: 24.2 MB / 3.713 GB, free: 41.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/7.453, allocations: 42.03 kB / 3.713 GB, free: 41.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=46): time 3.326e-06/7.453, allocations: 2.844 kB / 3.713 GB, free: 41.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.007226/7.46, allocations: 1.73 MB / 3.715 GB, free: 40.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/7.46, allocations: 115.8 kB / 3.715 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009129/7.461, allocations: 0.517 MB / 3.715 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.43e-05/7.462, allocations: 35.75 kB / 3.715 GB, free: 40.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/7.462, allocations: 345 kB / 3.715 GB, free: 40.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000202/7.462, allocations: 154.7 kB / 3.716 GB, free: 40.35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/7.462, allocations: 11.44 kB / 3.716 GB, free: 40.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001409/7.462, allocations: 364.3 kB / 3.716 GB, free: 40.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006612/7.463, allocations: 245.1 kB / 3.716 GB, free: 40.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007105/7.464, allocations: 430.4 kB / 3.717 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/7.465, allocations: 0.6563 MB / 3.717 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/7.465, allocations: 3.562 kB / 3.717 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001975/7.467, allocations: 0.8343 MB / 3.718 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/7.467, allocations: 245.7 kB / 3.718 GB, free: 39.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/7.467, allocations: 3.75 kB / 3.718 GB, free: 39.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/7.469, allocations: 341.7 kB / 3.719 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/7.469, allocations: 143.4 kB / 3.719 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/7.47, allocations: 0.7891 MB / 3.72 GB, free: 38.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007888/7.471, allocations: 135.3 kB / 3.72 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/7.471, allocations: 33.66 kB / 3.72 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.994e-06/7.471, allocations: 6.594 kB / 3.72 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001755/7.473, allocations: 0.7704 MB / 3.72 GB, free: 38.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/7.473, allocations: 5.219 kB / 3.72 GB, free: 38.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000991/7.474, allocations: 207.2 kB / 3.721 GB, free: 38.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005356/7.475, allocations: 153.8 kB / 3.721 GB, free: 38.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008873/7.475, allocations: 0.751 MB / 3.722 GB, free: 38.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007382/7.476, allocations: 107.4 kB / 3.722 GB, free: 38.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.205e-05/7.476, allocations: 38.61 kB / 3.722 GB, free: 38.16 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 (58): * Single equations (assignments): 57 * 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.0004643/7.477, allocations: 276.9 kB / 3.722 GB, free: 37.97 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/7.477, allocations: 65.53 kB / 3.722 GB, free: 37.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004361/7.481, allocations: 3.05 MB / 3.725 GB, free: 37.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.143e-05/7.481, allocations: 49.33 kB / 3.725 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/7.481, allocations: 3.891 kB / 3.725 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/7.481, allocations: 2.062 kB / 3.725 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/7.483, allocations: 1.478 MB / 3.727 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/7.483, allocations: 0 / 3.727 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/7.484, allocations: 101.2 kB / 3.727 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002238/7.486, allocations: 1.004 MB / 3.728 GB, free: 37.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.818e-05/7.486, allocations: 15.09 kB / 3.728 GB, free: 37.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/7.488, allocations: 1.453 MB / 3.729 GB, free: 36.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/7.488, allocations: 0 / 3.729 GB, free: 36.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/7.49, allocations: 2.068 MB / 3.731 GB, free: 36.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005298/7.491, allocations: 332.9 kB / 3.731 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/7.491, allocations: 10.62 kB / 3.731 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005721/7.492, allocations: 88.52 kB / 3.731 GB, free: 36.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/7.492, allocations: 51.12 kB / 3.731 GB, free: 36.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/7.492, allocations: 23.58 kB / 3.732 GB, free: 36.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005635/7.492, allocations: 467.6 kB / 3.732 GB, free: 36.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.022e-06/7.492, allocations: 0 / 3.732 GB, free: 36.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005365/7.498, allocations: 1.436 MB / 3.733 GB, free: 35.93 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (45): * Single equations (assignments): 35 * 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.009155/7.507, allocations: 1.719 MB / 3.735 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003268/7.51, allocations: 1.367 MB / 3.736 GB, free: 35.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/7.51, allocations: 7 kB / 3.736 GB, free: 35.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/7.511, allocations: 0.8068 MB / 3.737 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/7.513, allocations: 326.5 kB / 3.737 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/7.517, allocations: 2.916 MB / 3.74 GB, free: 34.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/7.517, allocations: 1.135 MB / 3.741 GB, free: 33.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001028/7.518, allocations: 0.6537 MB / 3.742 GB, free: 33.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/7.519, allocations: 66.7 kB / 3.742 GB, free: 33.58 MB / 0.5105 GB Notification: Performance of SimCode: time 1.803e-06/7.519, allocations: 1.594 kB / 3.742 GB, free: 33.58 MB / 0.5105 GB Notification: Performance of Templates: time 0.05932/7.578, allocations: 45.39 MB / 3.786 GB, free: 31.02 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpNPSH/TestWaterPumpNPSH.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches