Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002447/0.002447, allocations: 181.1 kB / 8.152 MB, free: 2.098 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 90.38 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2944/0.2944, allocations: 43.48 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.323e-06/7.334e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2978, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6551/0.9529, allocations: 320.3 MB / 0.7781 GB, free: 15.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.9532, allocations: 86.77 kB / 0.7782 GB, free: 15.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.8205/1.774, allocations: 165 MB / 0.9394 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.56e-05/1.774, allocations: 23.91 kB / 0.9394 GB, free: 89.89 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.004133/1.778, allocations: 1.084 MB / 0.9404 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.778, allocations: 8.031 kB / 0.9404 GB, free: 88.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006937/1.779, allocations: 107 kB / 0.9405 GB, free: 88.65 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/1.781, allocations: 0.6087 MB / 0.9411 GB, free: 88.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/1.781, allocations: 16 kB / 0.9412 GB, free: 88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/1.781, allocations: 36 kB / 0.9412 GB, free: 87.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001673/1.783, allocations: 0.6194 MB / 0.9418 GB, free: 87.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/1.784, allocations: 0.6626 MB / 0.9424 GB, free: 86.63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/1.784, allocations: 0 / 0.9424 GB, free: 86.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/1.784, allocations: 3.984 kB / 0.9424 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/1.784, allocations: 21 kB / 0.9425 GB, free: 86.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006572/1.791, allocations: 3.169 MB / 0.9456 GB, free: 83.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/1.792, allocations: 380.5 kB / 0.9459 GB, free: 82.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007075/1.793, allocations: 252.9 kB / 0.9462 GB, free: 82.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004138/1.793, allocations: 0.5755 MB / 0.9467 GB, free: 81.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/1.793, allocations: 38.56 kB / 0.9468 GB, free: 81.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 3.337e-06/1.793, allocations: 0 / 0.9468 GB, free: 81.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=63): time 0.05954/1.853, allocations: 5.278 MB / 0.9519 GB, free: 76.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/1.853, allocations: 111.5 kB / 0.952 GB, free: 76.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008686/1.854, allocations: 459.4 kB / 0.9525 GB, free: 75.92 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002396/1.854, allocations: 25.7 kB / 0.9525 GB, free: 75.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/1.854, allocations: 310.3 kB / 0.9528 GB, free: 75.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/1.855, allocations: 220.8 kB / 0.953 GB, free: 75.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-05/1.855, allocations: 0 / 0.953 GB, free: 75.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.472e-05/1.855, allocations: 338.8 kB / 0.9533 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008111/1.856, allocations: 277.5 kB / 0.9536 GB, free: 74.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009464/1.857, allocations: 464.2 kB / 0.954 GB, free: 74.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005577/1.862, allocations: 0.7016 MB / 0.9547 GB, free: 73.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/1.862, allocations: 0 / 0.9547 GB, free: 73.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.007904/1.87, allocations: 1.348 MB / 0.956 GB, free: 72.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004803/1.871, allocations: 2.008 MB / 0.958 GB, free: 70 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/1.871, allocations: 8 kB / 0.958 GB, free: 69.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007955/1.879, allocations: 0.7235 MB / 0.9587 GB, free: 69.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/1.88, allocations: 215.7 kB / 0.9589 GB, free: 69.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008093/1.889, allocations: 1.909 MB / 0.9608 GB, free: 67.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/1.89, allocations: 107.9 kB / 0.9609 GB, free: 66.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/1.891, allocations: 55.95 kB / 0.9609 GB, free: 66.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.891, allocations: 4 kB / 0.9609 GB, free: 66.92 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007731/1.898, allocations: 1.086 MB / 0.962 GB, free: 65.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/1.899, allocations: 4.406 kB / 0.962 GB, free: 65.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/1.901, allocations: 261.5 kB / 0.9622 GB, free: 65.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/1.903, allocations: 227.7 kB / 0.9625 GB, free: 65.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/1.915, allocations: 4.544 MB / 0.9669 GB, free: 60.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/1.917, allocations: 91.92 kB / 0.967 GB, free: 60.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/1.917, allocations: 43.97 kB / 0.967 GB, free: 60.37 MB / 0.4948 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.0004067/1.917, allocations: 46.92 kB / 0.9671 GB, free: 60.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/1.918, allocations: 79.06 kB / 0.9671 GB, free: 60.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007125/1.925, allocations: 1.533 MB / 0.9686 GB, free: 58.69 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/1.925, allocations: 8 kB / 0.9687 GB, free: 58.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/1.925, allocations: 4 kB / 0.9687 GB, free: 58.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.45e-05/1.925, allocations: 7.984 kB / 0.9687 GB, free: 58.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009205/1.934, allocations: 2.225 MB / 0.9708 GB, free: 56.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/1.934, allocations: 4 kB / 0.9708 GB, free: 56.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.935, allocations: 159.8 kB / 0.971 GB, free: 56.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003628/1.939, allocations: 0.4956 MB / 0.9715 GB, free: 55.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/1.939, allocations: 15.98 kB / 0.9715 GB, free: 55.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003016/1.942, allocations: 1.628 MB / 0.9731 GB, free: 54.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.942, allocations: 0 / 0.9731 GB, free: 54.06 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006931/1.949, allocations: 1.646 MB / 0.9747 GB, free: 52.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000735/1.95, allocations: 247.9 kB / 0.9749 GB, free: 52.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/1.95, allocations: 3.984 kB / 0.9749 GB, free: 52.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/1.952, allocations: 91.92 kB / 0.975 GB, free: 52.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/1.952, allocations: 60.69 kB / 0.9751 GB, free: 51.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.952, allocations: 39.97 kB / 0.9751 GB, free: 51.94 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0006089/1.953, allocations: 351.2 kB / 0.9754 GB, free: 51.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002994/1.956, allocations: 0.5973 MB / 0.976 GB, free: 51 MB / 0.4948 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.002078/1.958, allocations: 0.5664 MB / 0.9766 GB, free: 50.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007416/1.965, allocations: 1.389 MB / 0.9779 GB, free: 49.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.966, allocations: 4.5 kB / 0.9779 GB, free: 49.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/1.967, allocations: 414 kB / 0.9783 GB, free: 48.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/1.97, allocations: 270.5 kB / 0.9786 GB, free: 48.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/1.974, allocations: 1.177 MB / 0.9797 GB, free: 47.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/1.975, allocations: 1.081 MB / 0.9808 GB, free: 46.08 MB / 0.4948 GB Notification: Performance of SimCode: time 1.323e-06/1.975, allocations: 0 / 0.9808 GB, free: 46.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.04229/2.018, allocations: 22.71 MB / 1.003 GB, free: 23.36 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpRecirculation/TestWaterPumpRecirculation.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches