Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.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_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_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 3.2.3+maint.om/package.mo): time 0.0009541/0.0009542, allocations: 187.7 kB / 7.8 MB, free: 2.449 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.052/1.052, 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.0008851/0.0008852, allocations: 90.69 kB / 261.4 MB, free: 13.55 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.1534/0.1534, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.009e-06/5.029e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2258, allocations: 58.84 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4252/0.6511, allocations: 320.3 MB / 0.7782 GB, free: 15.78 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001748/0.6513, allocations: 81.7 kB / 0.7782 GB, free: 15.74 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.4347/1.086, allocations: 165 MB / 0.9394 GB, free: 93.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.738e-05/1.086, allocations: 23.94 kB / 0.9394 GB, free: 93.67 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.002551/1.089, allocations: 1.084 MB / 0.9405 GB, free: 92.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/1.089, allocations: 12.03 kB / 0.9405 GB, free: 92.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004422/1.089, allocations: 98.95 kB / 0.9406 GB, free: 92.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/1.09, allocations: 0.6164 MB / 0.9412 GB, free: 91.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/1.09, allocations: 16 kB / 0.9412 GB, free: 91.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/1.09, allocations: 32 kB / 0.9412 GB, free: 91.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00089/1.091, allocations: 0.6194 MB / 0.9418 GB, free: 91.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008279/1.092, allocations: 0.6626 MB / 0.9425 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/1.092, allocations: 0 / 0.9425 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.818e-05/1.092, allocations: 11.88 kB / 0.9425 GB, free: 90.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/1.092, allocations: 21 kB / 0.9425 GB, free: 90.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003708/1.096, allocations: 3.161 MB / 0.9456 GB, free: 87.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006776/1.097, allocations: 384.5 kB / 0.9459 GB, free: 86.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/1.097, allocations: 249.5 kB / 0.9462 GB, free: 86.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/1.097, allocations: 0.5717 MB / 0.9467 GB, free: 85.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/1.097, allocations: 34.56 kB / 0.9468 GB, free: 85.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 2.254e-06/1.097, allocations: 3.984 kB / 0.9468 GB, free: 85.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=63): time 0.03037/1.128, allocations: 5.274 MB / 0.9519 GB, free: 80.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/1.128, allocations: 111.5 kB / 0.952 GB, free: 80.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/1.128, allocations: 459.4 kB / 0.9525 GB, free: 79.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.721e-05/1.128, allocations: 29.7 kB / 0.9525 GB, free: 79.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/1.129, allocations: 283.8 kB / 0.9528 GB, free: 79.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/1.129, allocations: 212.8 kB / 0.953 GB, free: 79.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/1.129, allocations: 3.938 kB / 0.953 GB, free: 79.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.374e-05/1.129, allocations: 382.7 kB / 0.9533 GB, free: 78.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/1.129, allocations: 277.5 kB / 0.9536 GB, free: 78.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/1.13, allocations: 460.2 kB / 0.954 GB, free: 77.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003037/1.133, allocations: 0.7016 MB / 0.9547 GB, free: 77.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.133, allocations: 4 kB / 0.9547 GB, free: 77.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004166/1.137, allocations: 1.382 MB / 0.9561 GB, free: 75.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002856/1.137, allocations: 2.008 MB / 0.958 GB, free: 73.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.137, allocations: 4 kB / 0.9581 GB, free: 73.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004274/1.142, allocations: 0.7547 MB / 0.9588 GB, free: 72.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/1.142, allocations: 207.7 kB / 0.959 GB, free: 72.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004204/1.147, allocations: 1.936 MB / 0.9609 GB, free: 70.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/1.148, allocations: 95.97 kB / 0.961 GB, free: 70.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/1.148, allocations: 55.95 kB / 0.961 GB, free: 70.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/1.148, allocations: 4 kB / 0.961 GB, free: 70.62 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004064/1.152, allocations: 1.1 MB / 0.9621 GB, free: 69.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.152, allocations: 8 kB / 0.9621 GB, free: 69.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/1.153, allocations: 289.9 kB / 0.9624 GB, free: 69.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/1.154, allocations: 231.6 kB / 0.9626 GB, free: 69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006252/1.161, allocations: 4.593 MB / 0.9671 GB, free: 64.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000952/1.162, allocations: 91.86 kB / 0.9672 GB, free: 64.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-05/1.162, allocations: 39.97 kB / 0.9672 GB, free: 63.97 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.0002975/1.162, allocations: 134.2 kB / 0.9673 GB, free: 63.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/1.162, allocations: 75.06 kB / 0.9674 GB, free: 63.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003741/1.166, allocations: 1.533 MB / 0.9689 GB, free: 62.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.166, allocations: 8 kB / 0.9689 GB, free: 62.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.166, allocations: 7.984 kB / 0.9689 GB, free: 62.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/1.166, allocations: 3.984 kB / 0.9689 GB, free: 62.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004735/1.171, allocations: 2.215 MB / 0.9711 GB, free: 59.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.171, allocations: 0 / 0.9711 GB, free: 59.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006019/1.171, allocations: 171.8 kB / 0.9713 GB, free: 59.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001893/1.173, allocations: 0.4978 MB / 0.9717 GB, free: 59.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-05/1.173, allocations: 15.98 kB / 0.9718 GB, free: 59.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/1.175, allocations: 1.633 MB / 0.9734 GB, free: 57.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.175, allocations: 0 / 0.9734 GB, free: 57.58 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003478/1.178, allocations: 1.636 MB / 0.975 GB, free: 55.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/1.179, allocations: 251.9 kB / 0.9752 GB, free: 55.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/1.179, allocations: 0 / 0.9752 GB, free: 55.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008686/1.18, allocations: 99.91 kB / 0.9753 GB, free: 55.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.18, allocations: 56.69 kB / 0.9753 GB, free: 55.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.329e-05/1.18, allocations: 35.97 kB / 0.9754 GB, free: 55.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003846/1.18, allocations: 351.2 kB / 0.9757 GB, free: 55.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002136/1.183, allocations: 0.6051 MB / 0.9763 GB, free: 54.53 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.00144/1.184, allocations: 0.5609 MB / 0.9769 GB, free: 53.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003622/1.188, allocations: 1.415 MB / 0.9782 GB, free: 52.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.188, allocations: 0 / 0.9782 GB, free: 52.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006374/1.188, allocations: 422.9 kB / 0.9786 GB, free: 52.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/1.19, allocations: 271.1 kB / 0.9789 GB, free: 51.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/1.192, allocations: 1.15 MB / 0.98 GB, free: 50.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005682/1.193, allocations: 1.078 MB / 0.9811 GB, free: 49.6 MB / 0.4948 GB Notification: Performance of SimCode: time 2.6e-07/1.193, allocations: 4 kB / 0.9811 GB, free: 49.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.03413/1.227, allocations: 28.31 MB / 1.009 GB, free: 21.36 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches