Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.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.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Source.ports.2..m_flow|Source.ports.2..p|Source.ports.2..h_outflow|Source.ports.3..m_flow|Source.ports.3..p|Source.ports.3..h_outflow|Source.ports.4..m_flow|Source.ports.4..p|Source.ports.4..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Sink.ports.2..m_flow|Sink.ports.2..p|Sink.ports.2..h_outflow|Sink.ports.3..m_flow|Sink.ports.3..p|Sink.ports.3..h_outflow|Sink.ports.4..m_flow|Sink.ports.4..p|Sink.ports.4..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|downstreamPressure.y|pumpPolynomial.port_b.m_flow|pumpPolynomial.port_b.p|pumpPolynomial.port_b.h_outflow|pumpQuadraticLinear.port_b.m_flow|pumpQuadraticLinear.port_b.p|pumpQuadraticLinear.port_b.h_outflow|pumpLinear.port_b.m_flow|pumpLinear.port_b.p|pumpLinear.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Source.ports.2..m_flow|Source.ports.2..p|Source.ports.2..h_outflow|Source.ports.3..m_flow|Source.ports.3..p|Source.ports.3..h_outflow|Source.ports.4..m_flow|Source.ports.4..p|Source.ports.4..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Sink.ports.2..m_flow|Sink.ports.2..p|Sink.ports.2..h_outflow|Sink.ports.3..m_flow|Sink.ports.3..p|Sink.ports.3..h_outflow|Sink.ports.4..m_flow|Sink.ports.4..p|Sink.ports.4..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|downstreamPressure.y|pumpPolynomial.port_b.m_flow|pumpPolynomial.port_b.p|pumpPolynomial.port_b.h_outflow|pumpQuadraticLinear.port_b.m_flow|pumpQuadraticLinear.port_b.p|pumpQuadraticLinear.port_b.h_outflow|pumpLinear.port_b.m_flow|pumpLinear.port_b.p|pumpLinear.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") [: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.0009851/0.0009851, allocations: 190.8 kB / 7.804 MB, free: 2.441 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.038/1.038, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008191/0.0008191, allocations: 85.56 kB / 261.4 MB, free: 13.47 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.1562/0.1562, allocations: 43.48 MB / 352.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.074e-06/7.164e-06, allocations: 4 kB / 417.7 MB, free: 40.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2027, allocations: 58.85 MB / 476.6 MB, free: 5.129 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.767/3.969, allocations: 2.764 GB / 3.229 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/3.97, allocations: 78.12 kB / 3.229 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.095/6.064, allocations: 0.8149 GB / 4.044 GB, free: 40.85 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.137e-05/6.065, allocations: 38.44 kB / 4.044 GB, free: 40.84 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.008188/6.073, allocations: 2.614 MB / 4.047 GB, free: 39.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/6.073, allocations: 9.406 kB / 4.047 GB, free: 39.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/6.076, allocations: 494.6 kB / 4.047 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/6.078, allocations: 0.9938 MB / 4.048 GB, free: 38.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/6.078, allocations: 53.66 kB / 4.048 GB, free: 38.67 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/6.078, allocations: 70.94 kB / 4.048 GB, free: 38.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002044/6.08, allocations: 1.168 MB / 4.049 GB, free: 38.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/6.083, allocations: 1.406 MB / 4.051 GB, free: 37.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/6.083, allocations: 5.281 kB / 4.051 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/6.083, allocations: 5.375 kB / 4.051 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.429e-05/6.083, allocations: 60.86 kB / 4.051 GB, free: 37.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4236/6.506, allocations: 146 MB / 4.193 GB, free: 45.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009473/6.507, allocations: 0.563 MB / 4.194 GB, free: 45.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005475/6.508, allocations: 358.5 kB / 4.194 GB, free: 45.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01339/6.521, allocations: 8.088 MB / 4.202 GB, free: 40.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/6.521, allocations: 41.34 kB / 4.202 GB, free: 40.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=81): time 3.356e-06/6.521, allocations: 7.469 kB / 4.202 GB, free: 40.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=81): time 0.004428/6.526, allocations: 1.43 MB / 4.204 GB, free: 40.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/6.526, allocations: 114.4 kB / 4.204 GB, free: 40.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/6.527, allocations: 0.7233 MB / 4.204 GB, free: 39.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.662e-05/6.527, allocations: 26.7 kB / 4.204 GB, free: 39.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/6.528, allocations: 0.55 MB / 4.205 GB, free: 39.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/6.528, allocations: 269.5 kB / 4.205 GB, free: 39.47 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.938e-05/6.528, allocations: 4 kB / 4.205 GB, free: 39.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/6.528, allocations: 347.7 kB / 4.206 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005343/6.529, allocations: 369.9 kB / 4.206 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006734/6.529, allocations: 0.7297 MB / 4.207 GB, free: 38.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/6.53, allocations: 469.8 kB / 4.207 GB, free: 38.69 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/6.53, allocations: 3.656 kB / 4.207 GB, free: 38.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00542/6.536, allocations: 2.026 MB / 4.209 GB, free: 38.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007349/6.537, allocations: 4.602 MB / 4.213 GB, free: 33.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/6.537, allocations: 13.06 kB / 4.214 GB, free: 33.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/6.538, allocations: 0.5035 MB / 4.214 GB, free: 33.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006923/6.539, allocations: 226 kB / 4.214 GB, free: 33.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004286/6.543, allocations: 3.097 MB / 4.217 GB, free: 31.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/6.545, allocations: 241.2 kB / 4.217 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/6.545, allocations: 76.17 kB / 4.218 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/6.546, allocations: 9.938 kB / 4.218 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004625/6.55, allocations: 1.437 MB / 4.219 GB, free: 31.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/6.55, allocations: 11.78 kB / 4.219 GB, free: 31.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/6.553, allocations: 474.8 kB / 4.219 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007576/6.553, allocations: 244.6 kB / 4.22 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/6.557, allocations: 2.888 MB / 4.222 GB, free: 29.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/6.559, allocations: 202.6 kB / 4.223 GB, free: 29.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/6.559, allocations: 69.83 kB / 4.223 GB, free: 29.24 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,Source.medium.phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 107 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,2 8,2 8,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.000351/6.559, allocations: 145.1 kB / 4.223 GB, free: 29.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/6.56, allocations: 430.8 kB / 4.223 GB, free: 29.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004163/6.565, allocations: 3.07 MB / 4.226 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/6.565, allocations: 23.84 kB / 4.226 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/6.565, allocations: 0 / 4.226 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/6.565, allocations: 8.219 kB / 4.226 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005285/6.57, allocations: 4.49 MB / 4.231 GB, free: 27.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/6.57, allocations: 0 / 4.231 GB, free: 27.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/6.57, allocations: 84.2 kB / 4.231 GB, free: 27.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002205/6.572, allocations: 1.145 MB / 4.232 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/6.573, allocations: 17.16 kB / 4.232 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/6.576, allocations: 3.758 MB / 4.236 GB, free: 41.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/6.576, allocations: 6.969 kB / 4.236 GB, free: 41.75 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003688/6.58, allocations: 2.513 MB / 4.238 GB, free: 41.35 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000651/6.58, allocations: 383.2 kB / 4.238 GB, free: 41.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/6.581, allocations: 0 / 4.238 GB, free: 41.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009883/6.582, allocations: 149.1 kB / 4.239 GB, free: 41.16 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/6.582, allocations: 83.19 kB / 4.239 GB, free: 41.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-05/6.582, allocations: 36.8 kB / 4.239 GB, free: 41.16 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0006638/6.582, allocations: 0.5915 MB / 4.239 GB, free: 41.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006034/6.588, allocations: 1.906 MB / 4.241 GB, free: 40.93 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 10,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.007058/6.596, allocations: 2.415 MB / 4.243 GB, free: 40.56 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005084/6.601, allocations: 2.16 MB / 4.246 GB, free: 40.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/6.601, allocations: 4.062 kB / 4.246 GB, free: 40.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/6.602, allocations: 1.136 MB / 4.247 GB, free: 40.49 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/6.604, allocations: 447.4 kB / 4.247 GB, free: 40.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/6.608, allocations: 2.306 MB / 4.249 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009466/6.609, allocations: 1.423 MB / 4.251 GB, free: 39.2 MB / 0.5417 GB Notification: Performance of SimCode: time 9.72e-07/6.609, allocations: 0 / 4.251 GB, free: 39.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.07265/6.682, allocations: 61.92 MB / 4.311 GB, free: 24.21 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpCharacteristics/TestWaterPumpCharacteristics.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches