Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") [: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 4.0.0+maint.om/package.mo): time 0.0009904/0.0009906, allocations: 179.1 kB / 8.522 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 221.4 MB / 230.3 MB, free: 7.695 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001075, allocations: 92.73 kB / 281.2 MB, free: 5.438 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2001/0.2001, allocations: 44.16 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.215e-06, allocations: 4.219 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1423, allocations: 61.9 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.132/6.275, allocations: 2.77 GB / 3.264 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/6.275, allocations: 83.95 kB / 3.264 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.709/7.984, allocations: 421.4 MB / 3.675 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.982e-05/7.984, allocations: 16.56 kB / 3.675 GB, free: 64.96 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.005834/7.99, allocations: 1.664 MB / 3.677 GB, free: 64.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/7.99, allocations: 11.72 kB / 3.677 GB, free: 64.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/7.992, allocations: 318.5 kB / 3.677 GB, free: 64.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009392/7.993, allocations: 0.5347 MB / 3.678 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/7.993, allocations: 21.34 kB / 3.678 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-05/7.993, allocations: 30.75 kB / 3.678 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008048/7.994, allocations: 0.5189 MB / 3.678 GB, free: 64.08 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008181/7.995, allocations: 0.6391 MB / 3.679 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/7.995, allocations: 0 / 3.679 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/7.995, allocations: 6.859 kB / 3.679 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/7.995, allocations: 24 kB / 3.679 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08154/8.076, allocations: 44.27 MB / 3.722 GB, free: 36.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/8.077, allocations: 347.8 kB / 3.722 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/8.077, allocations: 187.6 kB / 3.723 GB, free: 36.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04689/8.124, allocations: 24.08 MB / 3.746 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/8.124, allocations: 39.27 kB / 3.746 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 3.256e-06/8.124, allocations: 0 / 3.746 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.003142/8.128, allocations: 0.8064 MB / 3.747 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/8.128, allocations: 113.3 kB / 3.747 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005939/8.128, allocations: 367.3 kB / 3.747 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/8.128, allocations: 29.23 kB / 3.747 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/8.128, allocations: 279.3 kB / 3.748 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/8.129, allocations: 128.3 kB / 3.748 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/8.129, allocations: 0 / 3.748 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.058e-05/8.129, allocations: 365.8 kB / 3.748 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/8.129, allocations: 176.3 kB / 3.748 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/8.129, allocations: 342.4 kB / 3.749 GB, free: 20 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009901/8.13, allocations: 288.3 kB / 3.749 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/8.13, allocations: 1.125 kB / 3.749 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003112/8.133, allocations: 1.015 MB / 3.75 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003578/8.134, allocations: 1.921 MB / 3.752 GB, free: 17.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/8.134, allocations: 3.594 kB / 3.752 GB, free: 17.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007742/8.135, allocations: 173.6 kB / 3.752 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/8.135, allocations: 128.5 kB / 3.752 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/8.136, allocations: 0.8279 MB / 3.753 GB, free: 33.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008853/8.137, allocations: 122.4 kB / 3.753 GB, free: 33.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/8.137, allocations: 32.95 kB / 3.753 GB, free: 33.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/8.137, allocations: 3.469 kB / 3.753 GB, free: 33.32 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002374/8.14, allocations: 0.7032 MB / 3.754 GB, free: 33.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/8.14, allocations: 3.406 kB / 3.754 GB, free: 33.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008306/8.141, allocations: 171.4 kB / 3.754 GB, free: 33.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/8.141, allocations: 132.3 kB / 3.754 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008769/8.142, allocations: 0.7718 MB / 3.755 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007763/8.143, allocations: 94.53 kB / 3.755 GB, free: 32.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/8.143, allocations: 40.59 kB / 3.755 GB, free: 32.72 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (53): * Single equations (assignments): 52 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002272/8.143, allocations: 118.4 kB / 3.755 GB, free: 32.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008383/8.144, allocations: 267.3 kB / 3.755 GB, free: 32.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/8.147, allocations: 2.328 MB / 3.758 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/8.147, allocations: 32.86 kB / 3.758 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/8.147, allocations: 0 / 3.758 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/8.147, allocations: 3.656 kB / 3.758 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/8.151, allocations: 3.004 MB / 3.761 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/8.151, allocations: 0 / 3.761 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/8.151, allocations: 68.41 kB / 3.761 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008157/8.152, allocations: 367.4 kB / 3.761 GB, free: 31.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/8.152, allocations: 10.42 kB / 3.761 GB, free: 31.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/8.153, allocations: 0.9931 MB / 3.762 GB, free: 31.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/8.153, allocations: 0 / 3.762 GB, free: 31.42 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003197/8.156, allocations: 1.885 MB / 3.764 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006049/8.157, allocations: 256.9 kB / 3.764 GB, free: 30.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/8.157, allocations: 0 / 3.764 GB, free: 30.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006843/8.158, allocations: 72.2 kB / 3.764 GB, free: 30.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/8.158, allocations: 40.41 kB / 3.764 GB, free: 30.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/8.158, allocations: 26 kB / 3.764 GB, free: 30.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0005781/8.158, allocations: 348.2 kB / 3.765 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007268/8.166, allocations: 1.336 MB / 3.766 GB, free: 30.65 MB / 0.5261 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,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.01077/8.176, allocations: 1.819 MB / 3.768 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002734/8.179, allocations: 1.307 MB / 3.769 GB, free: 30.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/8.179, allocations: 3.906 kB / 3.769 GB, free: 30.22 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/8.18, allocations: 0.8842 MB / 3.77 GB, free: 30.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/8.182, allocations: 238.7 kB / 3.77 GB, free: 30.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/8.185, allocations: 1.517 MB / 3.771 GB, free: 29.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009334/8.186, allocations: 1.095 MB / 3.773 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.263e-06/8.186, allocations: 0 / 3.773 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.06495/8.251, allocations: 42.28 MB / 3.814 GB, free: 22.07 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultLV/TestWaterPumpDefaultLV.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches