Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") [: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.002386/0.002391, allocations: 172.5 kB / 8.147 MB, free: 2.223 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.677/1.677, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001346/0.001346, allocations: 88.33 kB / 261.8 MB, free: 13.63 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.2647/0.2647, allocations: 43.49 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.093e-05/1.112e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3076, allocations: 58.84 MB / 476.6 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.155/6.462, allocations: 2.781 GB / 3.247 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/6.463, allocations: 91.52 kB / 3.247 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.105/8.567, allocations: 436.6 MB / 3.673 GB, free: 58.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.019e-05/8.568, allocations: 23.23 kB / 3.673 GB, free: 58.83 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.008275/8.576, allocations: 1.789 MB / 3.675 GB, free: 58.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/8.576, allocations: 7.312 kB / 3.675 GB, free: 58.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/8.58, allocations: 355.2 kB / 3.675 GB, free: 58.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/8.582, allocations: 0.5795 MB / 3.676 GB, free: 57.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.308e-05/8.582, allocations: 21.34 kB / 3.676 GB, free: 57.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/8.582, allocations: 34.88 kB / 3.676 GB, free: 57.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001646/8.583, allocations: 0.573 MB / 3.676 GB, free: 57.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/8.585, allocations: 0.6743 MB / 3.677 GB, free: 57.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/8.585, allocations: 1.875 kB / 3.677 GB, free: 57.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/8.585, allocations: 3.906 kB / 3.677 GB, free: 57.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/8.585, allocations: 29.28 kB / 3.677 GB, free: 57.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1472/8.732, allocations: 44.4 MB / 3.72 GB, free: 30.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/8.734, allocations: 414.6 kB / 3.721 GB, free: 30.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005024/8.734, allocations: 208 kB / 3.721 GB, free: 30.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08508/8.82, allocations: 24.08 MB / 3.745 GB, free: 30.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/8.82, allocations: 37.94 kB / 3.745 GB, free: 30.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 3.176e-06/8.82, allocations: 0 / 3.745 GB, free: 30.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.004307/8.824, allocations: 0.8422 MB / 3.745 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/8.824, allocations: 110.3 kB / 3.746 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008352/8.825, allocations: 426.7 kB / 3.746 GB, free: 30.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/8.825, allocations: 34.66 kB / 3.746 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/8.825, allocations: 336.8 kB / 3.746 GB, free: 29.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/8.826, allocations: 143.2 kB / 3.746 GB, free: 29.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/8.826, allocations: 0 / 3.746 GB, free: 29.83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001613/8.826, allocations: 334.8 kB / 3.747 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005909/8.826, allocations: 204.5 kB / 3.747 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006735/8.827, allocations: 390.1 kB / 3.747 GB, free: 29.31 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00221/8.829, allocations: 355.5 kB / 3.748 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/8.829, allocations: 7.75 kB / 3.748 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004925/8.834, allocations: 1.073 MB / 3.749 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000819/8.835, allocations: 2.005 MB / 3.751 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/8.835, allocations: 6.562 kB / 3.751 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/8.837, allocations: 285.2 kB / 3.751 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/8.838, allocations: 154.9 kB / 3.751 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/8.841, allocations: 0.9457 MB / 3.752 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/8.843, allocations: 114.9 kB / 3.752 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/8.843, allocations: 38.78 kB / 3.752 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/8.843, allocations: 4.969 kB / 3.752 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004582/8.847, allocations: 0.7881 MB / 3.753 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/8.847, allocations: 5.062 kB / 3.753 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/8.849, allocations: 163.9 kB / 3.753 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/8.85, allocations: 163.4 kB / 3.753 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/8.852, allocations: 0.787 MB / 3.754 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/8.853, allocations: 109.3 kB / 3.754 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/8.854, allocations: 40.22 kB / 3.754 GB, free: 25.94 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 (59): * Single equations (assignments): 58 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005509/8.854, allocations: 46.55 kB / 3.754 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002129/8.856, allocations: 274.8 kB / 3.754 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00523/8.862, allocations: 2.531 MB / 3.757 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.212e-05/8.862, allocations: 26.16 kB / 3.757 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/8.862, allocations: 3.516 kB / 3.757 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/8.862, allocations: 0 / 3.757 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00625/8.868, allocations: 3.301 MB / 3.76 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/8.868, allocations: 3.906 kB / 3.76 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/8.869, allocations: 72.66 kB / 3.76 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002465/8.871, allocations: 0.7621 MB / 3.761 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/8.871, allocations: 12.44 kB / 3.761 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002557/8.874, allocations: 1.319 MB / 3.762 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/8.874, allocations: 3.75 kB / 3.762 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005247/8.879, allocations: 2.089 MB / 3.764 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006504/8.88, allocations: 276.4 kB / 3.765 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/8.88, allocations: 0 / 3.765 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009839/8.881, allocations: 68.34 kB / 3.765 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/8.881, allocations: 56.03 kB / 3.765 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-05/8.881, allocations: 22.66 kB / 3.765 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0006918/8.882, allocations: 384.2 kB / 3.765 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007261/8.889, allocations: 1.42 MB / 3.767 GB, free: 23.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.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 (33): * Single equations (assignments): 27 * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.01228/8.901, allocations: 1.878 MB / 3.768 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004502/8.906, allocations: 1.388 MB / 3.77 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/8.906, allocations: 0 / 3.77 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/8.908, allocations: 0.9164 MB / 3.771 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/8.91, allocations: 260.5 kB / 3.771 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/8.915, allocations: 1.615 MB / 3.772 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/8.916, allocations: 1.135 MB / 3.774 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of SimCode: time 1.373e-06/8.916, allocations: 0 / 3.774 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of Templates: time 0.07739/8.993, allocations: 36.45 MB / 3.809 GB, free: 8.305 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultCV/TestWaterPumpDefaultCV.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches