Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,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_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,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_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") [: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.0009385/0.0009386, allocations: 186.8 kB / 7.804 MB, free: 2.492 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.049/1.049, 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.0008226/0.0008226, allocations: 95.25 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.1644/0.1644, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.48e-06/5.51e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2246, allocations: 58.83 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.931/4.156, allocations: 2.781 GB / 3.246 GB, free: 70.65 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/4.156, allocations: 83.95 kB / 3.246 GB, free: 70.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.103/5.26, allocations: 435.5 MB / 3.672 GB, free: 21.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.018e-05/5.26, allocations: 30.61 kB / 3.672 GB, free: 21.87 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005258/5.265, allocations: 1.751 MB / 3.673 GB, free: 20.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/5.265, allocations: 12.03 kB / 3.673 GB, free: 20.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002473/5.267, allocations: 346.7 kB / 3.674 GB, free: 19.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009976/5.268, allocations: 0.5755 MB / 3.674 GB, free: 19.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/5.268, allocations: 27.91 kB / 3.674 GB, free: 19.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.926e-05/5.269, allocations: 32 kB / 3.674 GB, free: 19.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007872/5.269, allocations: 0.5336 MB / 3.675 GB, free: 18.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000795/5.27, allocations: 0.6653 MB / 3.675 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/5.27, allocations: 3.984 kB / 3.675 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.924e-05/5.27, allocations: 4 kB / 3.675 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/5.27, allocations: 28.94 kB / 3.675 GB, free: 17.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2325/5.503, allocations: 44.4 MB / 3.719 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/5.503, allocations: 299.4 kB / 3.719 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/5.503, allocations: 188.8 kB / 3.719 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03911/5.543, allocations: 24.08 MB / 3.743 GB, free: 90.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/5.543, allocations: 40.92 kB / 3.743 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 2.224e-06/5.543, allocations: 3.375 kB / 3.743 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.00243/5.545, allocations: 0.7967 MB / 3.744 GB, free: 90.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/5.545, allocations: 110 kB / 3.744 GB, free: 90.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004274/5.546, allocations: 411.1 kB / 3.744 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/5.546, allocations: 29.52 kB / 3.744 GB, free: 90.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/5.546, allocations: 290.9 kB / 3.744 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.059e-05/5.546, allocations: 130.8 kB / 3.745 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/5.546, allocations: 3.281 kB / 3.745 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.955e-05/5.546, allocations: 363.7 kB / 3.745 GB, free: 89.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/5.546, allocations: 192 kB / 3.745 GB, free: 89.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/5.546, allocations: 359.1 kB / 3.745 GB, free: 89.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/5.548, allocations: 333 kB / 3.746 GB, free: 89.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/5.548, allocations: 6.156 kB / 3.746 GB, free: 89.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00242/5.55, allocations: 1.021 MB / 3.747 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000292/5.55, allocations: 2.003 MB / 3.749 GB, free: 87.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/5.55, allocations: 6.812 kB / 3.749 GB, free: 87.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007692/5.551, allocations: 188.2 kB / 3.749 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/5.552, allocations: 143.6 kB / 3.749 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/5.553, allocations: 0.8903 MB / 3.75 GB, free: 87.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009092/5.554, allocations: 129.4 kB / 3.75 GB, free: 87.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.992e-05/5.554, allocations: 40.83 kB / 3.75 GB, free: 87.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-06/5.554, allocations: 3.594 kB / 3.75 GB, free: 87.01 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00277/5.557, allocations: 0.7276 MB / 3.751 GB, free: 86.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/5.557, allocations: 9.812 kB / 3.751 GB, free: 86.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009449/5.558, allocations: 178.3 kB / 3.751 GB, free: 86.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/5.559, allocations: 149.2 kB / 3.751 GB, free: 86.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/5.56, allocations: 0.7828 MB / 3.752 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005914/5.56, allocations: 109.7 kB / 3.752 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/5.56, allocations: 34.08 kB / 3.752 GB, free: 86.45 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 (55): * Single equations (assignments): 54 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001369/5.561, allocations: 124.6 kB / 3.752 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006709/5.561, allocations: 274.5 kB / 3.752 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/5.564, allocations: 2.461 MB / 3.755 GB, free: 86.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/5.564, allocations: 25.55 kB / 3.755 GB, free: 86.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/5.564, allocations: 0 / 3.755 GB, free: 86.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/5.564, allocations: 6.859 kB / 3.755 GB, free: 86.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/5.567, allocations: 3.131 MB / 3.758 GB, free: 85.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/5.567, allocations: 0 / 3.758 GB, free: 85.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/5.567, allocations: 72.41 kB / 3.758 GB, free: 85.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009277/5.568, allocations: 0.6823 MB / 3.759 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/5.568, allocations: 10.94 kB / 3.759 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/5.569, allocations: 1.263 MB / 3.76 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/5.569, allocations: 3.875 kB / 3.76 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002293/5.572, allocations: 1.955 MB / 3.762 GB, free: 84.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/5.572, allocations: 261.1 kB / 3.762 GB, free: 84.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/5.572, allocations: 10.64 kB / 3.762 GB, free: 84.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005027/5.573, allocations: 63.75 kB / 3.762 GB, free: 84.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/5.573, allocations: 41.08 kB / 3.762 GB, free: 84.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/5.573, allocations: 24.47 kB / 3.762 GB, free: 84.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003483/5.573, allocations: 382.8 kB / 3.762 GB, free: 84.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004499/5.577, allocations: 1.406 MB / 3.764 GB, free: 84.58 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,$cse12.phase,$cse12.region,$cse13.phase,$cse13.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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004784/5.582, allocations: 1.868 MB / 3.766 GB, free: 84.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002257/5.585, allocations: 1.335 MB / 3.767 GB, free: 84.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/5.585, allocations: 0 / 3.767 GB, free: 84.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007601/5.585, allocations: 0.9051 MB / 3.768 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/5.587, allocations: 242 kB / 3.768 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/5.589, allocations: 1.566 MB / 3.77 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/5.589, allocations: 1.115 MB / 3.771 GB, free: 83.39 MB / 0.5105 GB Notification: Performance of SimCode: time 3.5e-07/5.589, allocations: 2.5 kB / 3.771 GB, free: 83.39 MB / 0.5105 GB Notification: Performance of Templates: time 0.04814/5.637, allocations: 43.58 MB / 3.813 GB, free: 80.82 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefault/TestWaterPumpDefault.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches