Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|N_pump.y|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|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|N_pump.y|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|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") [: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 trunk/package.mo): time 0.001246/0.001246, allocations: 196 kB / 8.54 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008814/0.0008813, allocations: 94 kB / 286.3 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1864/0.1864, allocations: 45.14 MB / 383.3 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.355e-06/8.375e-06, allocations: 4 kB / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1212, allocations: 63.24 MB / 0.5038 GB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8543/0.9755, allocations: 322.7 MB / 0.819 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.9757, allocations: 90.2 kB / 0.819 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.6286/1.604, allocations: 168.5 MB / 0.9836 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.931e-05/1.604, allocations: 23.56 kB / 0.9836 GB, free: 127.2 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003013/1.608, allocations: 1.087 MB / 0.9846 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/1.608, allocations: 7.281 kB / 0.9847 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004205/1.608, allocations: 99.67 kB / 0.9847 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/1.609, allocations: 0.6109 MB / 0.9853 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/1.609, allocations: 18.16 kB / 0.9854 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.714e-05/1.609, allocations: 30.03 kB / 0.9854 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001082/1.61, allocations: 0.613 MB / 0.986 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009979/1.611, allocations: 0.6642 MB / 0.9866 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/1.612, allocations: 2.719 kB / 0.9866 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.101e-05/1.612, allocations: 3.062 kB / 0.9866 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/1.612, allocations: 24.67 kB / 0.9867 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004402/1.616, allocations: 3.163 MB / 0.9898 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007625/1.617, allocations: 387.8 kB / 0.9901 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/1.617, allocations: 243.9 kB / 0.9904 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003528/1.618, allocations: 0.5745 MB / 0.9909 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/1.618, allocations: 46.44 kB / 0.991 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.406e-06/1.618, allocations: 0 / 0.991 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=63): time 0.03296/1.651, allocations: 5.277 MB / 0.9961 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/1.651, allocations: 114.1 kB / 0.9962 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006387/1.651, allocations: 464.8 kB / 0.9967 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.762e-05/1.652, allocations: 29.31 kB / 0.9967 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/1.652, allocations: 283.8 kB / 0.997 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/1.652, allocations: 210.3 kB / 0.9972 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/1.652, allocations: 0 / 0.9972 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.652, allocations: 377.5 kB / 0.9975 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/1.652, allocations: 279.1 kB / 0.9978 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/1.653, allocations: 463.5 kB / 0.9982 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/1.656, allocations: 0.6991 MB / 0.9989 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/1.656, allocations: 0 / 0.9989 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.0047/1.661, allocations: 1.382 MB / 1 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004804/1.662, allocations: 2.005 MB / 1.002 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.662, allocations: 6.594 kB / 1.002 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004505/1.666, allocations: 0.7513 MB / 1.003 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008709/1.667, allocations: 217.4 kB / 1.003 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004602/1.672, allocations: 1.938 MB / 1.005 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/1.673, allocations: 96.38 kB / 1.005 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.673, allocations: 57.61 kB / 1.005 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/1.673, allocations: 3.875 kB / 1.005 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004303/1.677, allocations: 1.091 MB / 1.006 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/1.677, allocations: 3.75 kB / 1.006 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/1.679, allocations: 290.7 kB / 1.007 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008653/1.68, allocations: 225.1 kB / 1.007 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006856/1.687, allocations: 4.607 MB / 1.011 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/1.688, allocations: 95.38 kB / 1.011 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.894e-05/1.688, allocations: 42.56 kB / 1.011 GB, free: 115.4 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.000429/1.689, allocations: 118.4 kB / 1.012 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/1.689, allocations: 75.53 kB / 1.012 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004158/1.693, allocations: 1.536 MB / 1.013 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/1.693, allocations: 7.359 kB / 1.013 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.693, allocations: 0 / 1.013 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/1.693, allocations: 7.219 kB / 1.013 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005825/1.699, allocations: 2.231 MB / 1.015 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.699, allocations: 0 / 1.015 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006378/1.699, allocations: 157.2 kB / 1.015 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002023/1.702, allocations: 0.5044 MB / 1.016 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/1.702, allocations: 19.8 kB / 1.016 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/1.703, allocations: 1.634 MB / 1.018 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.703, allocations: 0 / 1.018 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003757/1.707, allocations: 1.637 MB / 1.019 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004979/1.708, allocations: 246.8 kB / 1.019 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/1.708, allocations: 7.156 kB / 1.019 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008285/1.709, allocations: 92.58 kB / 1.019 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/1.709, allocations: 56.77 kB / 1.02 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.026e-05/1.709, allocations: 42.02 kB / 1.02 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0004611/1.709, allocations: 348.9 kB / 1.02 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002595/1.712, allocations: 0.6077 MB / 1.02 GB, free: 113.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001822/1.714, allocations: 0.5659 MB / 1.021 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004587/1.718, allocations: 1.407 MB / 1.022 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/1.718, allocations: 3.281 kB / 1.022 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008956/1.719, allocations: 417.9 kB / 1.023 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/1.721, allocations: 289.4 kB / 1.023 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/1.724, allocations: 1.152 MB / 1.024 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006505/1.725, allocations: 1.076 MB / 1.025 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.132e-06/1.725, allocations: 3.844 kB / 1.025 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.06044/1.785, allocations: 28.38 MB / 1.053 GB, free: 106.3 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpRecirculation/TestWaterPumpRecirculation.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches