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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009922/0.0009923, allocations: 185.2 kB / 7.805 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.008/1.008, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009452/0.0009451, allocations: 93.16 kB / 261.4 MB, free: 13.54 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.1518/0.1518, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.35e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1964, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.8/3.997, allocations: 2.786 GB / 3.251 GB, free: 81.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/3.997, allocations: 83.95 kB / 3.251 GB, free: 81.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.151/5.148, allocations: 436.5 MB / 3.678 GB, free: 26.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.662e-05/5.148, allocations: 21.81 kB / 3.678 GB, free: 26.45 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005563/5.154, allocations: 1.778 MB / 3.679 GB, free: 24.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/5.154, allocations: 8.031 kB / 3.679 GB, free: 24.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/5.156, allocations: 372.4 kB / 3.68 GB, free: 24.28 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008838/5.157, allocations: 0.5689 MB / 3.68 GB, free: 23.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/5.157, allocations: 31.98 kB / 3.68 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/5.157, allocations: 32 kB / 3.68 GB, free: 23.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008079/5.158, allocations: 0.5589 MB / 3.681 GB, free: 23.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008243/5.159, allocations: 0.677 MB / 3.682 GB, free: 22.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/5.159, allocations: 0 / 3.682 GB, free: 22.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.969e-05/5.159, allocations: 4 kB / 3.682 GB, free: 22.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/5.159, allocations: 25.3 kB / 3.682 GB, free: 22.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2435/5.403, allocations: 44.5 MB / 3.725 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/5.403, allocations: 316.5 kB / 3.725 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/5.403, allocations: 209.4 kB / 3.726 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04178/5.445, allocations: 24.21 MB / 3.749 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/5.445, allocations: 34.06 kB / 3.749 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 2.324e-06/5.445, allocations: 3.938 kB / 3.749 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.002778/5.448, allocations: 0.825 MB / 3.75 GB, free: 86.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/5.448, allocations: 107.8 kB / 3.75 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005886/5.449, allocations: 409.8 kB / 3.751 GB, free: 86.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/5.449, allocations: 25.7 kB / 3.751 GB, free: 86.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/5.449, allocations: 297.5 kB / 3.751 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/5.449, allocations: 134.6 kB / 3.751 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/5.449, allocations: 3.938 kB / 3.751 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.501e-05/5.449, allocations: 369 kB / 3.751 GB, free: 86.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/5.45, allocations: 195 kB / 3.751 GB, free: 86.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/5.45, allocations: 374.8 kB / 3.752 GB, free: 85.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/5.451, allocations: 340.9 kB / 3.752 GB, free: 85.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/5.451, allocations: 0 / 3.752 GB, free: 85.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002772/5.454, allocations: 1.057 MB / 3.753 GB, free: 85.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003893/5.454, allocations: 2.003 MB / 3.755 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/5.454, allocations: 8.469 kB / 3.755 GB, free: 83.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007269/5.455, allocations: 188.2 kB / 3.755 GB, free: 83.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/5.456, allocations: 145.5 kB / 3.755 GB, free: 83.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/5.457, allocations: 0.8873 MB / 3.756 GB, free: 83.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008441/5.458, allocations: 138.7 kB / 3.756 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.159e-05/5.458, allocations: 33.91 kB / 3.757 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.991e-06/5.458, allocations: 3.812 kB / 3.757 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002417/5.46, allocations: 0.7577 MB / 3.757 GB, free: 83.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/5.46, allocations: 7.344 kB / 3.757 GB, free: 83.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008116/5.461, allocations: 180.9 kB / 3.757 GB, free: 83.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/5.462, allocations: 152.7 kB / 3.758 GB, free: 83.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006753/5.462, allocations: 0.7742 MB / 3.758 GB, free: 82.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000695/5.463, allocations: 105.4 kB / 3.758 GB, free: 82.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/5.463, allocations: 33.31 kB / 3.758 GB, free: 82.55 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 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete 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.0001827/5.463, allocations: 132.3 kB / 3.759 GB, free: 82.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007279/5.464, allocations: 264.7 kB / 3.759 GB, free: 82.42 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/5.468, allocations: 2.542 MB / 3.761 GB, free: 82.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.039e-05/5.468, allocations: 29.67 kB / 3.761 GB, free: 82.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/5.468, allocations: 0 / 3.761 GB, free: 82.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/5.468, allocations: 3.703 kB / 3.761 GB, free: 82.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003366/5.471, allocations: 3.213 MB / 3.765 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/5.471, allocations: 0 / 3.765 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/5.471, allocations: 77.98 kB / 3.765 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000964/5.472, allocations: 0.6623 MB / 3.765 GB, free: 81.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/5.472, allocations: 7.594 kB / 3.765 GB, free: 81.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/5.473, allocations: 1.274 MB / 3.766 GB, free: 81.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/5.473, allocations: 2.969 kB / 3.766 GB, free: 81.24 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002397/5.476, allocations: 1.987 MB / 3.768 GB, free: 80.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/5.476, allocations: 267.7 kB / 3.769 GB, free: 80.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/5.476, allocations: 7.375 kB / 3.769 GB, free: 80.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000539/5.477, allocations: 63.84 kB / 3.769 GB, free: 80.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/5.477, allocations: 44.25 kB / 3.769 GB, free: 80.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/5.477, allocations: 28.16 kB / 3.769 GB, free: 80.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003662/5.477, allocations: 378.2 kB / 3.769 GB, free: 80.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005317/5.483, allocations: 1.422 MB / 3.771 GB, free: 80.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 Backend phase and start with SimCode phase: time 0.00545/5.488, allocations: 1.877 MB / 3.772 GB, free: 80.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002021/5.49, allocations: 1.36 MB / 3.774 GB, free: 80.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/5.49, allocations: 0 / 3.774 GB, free: 80.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007834/5.491, allocations: 0.9125 MB / 3.775 GB, free: 80.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/5.492, allocations: 241.3 kB / 3.775 GB, free: 80.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/5.495, allocations: 1.598 MB / 3.776 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006519/5.495, allocations: 1.135 MB / 3.778 GB, free: 79.43 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/5.495, allocations: 0 / 3.778 GB, free: 79.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.0513/5.547, allocations: 44.14 MB / 3.821 GB, free: 77.12 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/jenkins/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