Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,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.TestWaterPumpNPSH") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,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.TestWaterPumpNPSH") [: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.001691/0.001691, allocations: 185 kB / 8.152 MB, free: 2.207 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.734/1.734, 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.001274/0.001274, allocations: 90.12 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.2745/0.2745, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.296e-06/8.495e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2972, allocations: 58.85 MB / 476.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.134/6.431, allocations: 2.786 GB / 3.251 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/6.432, allocations: 87.83 kB / 3.251 GB, free: 57.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.947/8.379, allocations: 436.4 MB / 3.678 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.251e-05/8.379, allocations: 16 kB / 3.678 GB, free: 43.46 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007854/8.387, allocations: 1.783 MB / 3.679 GB, free: 41.65 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/8.387, allocations: 8.031 kB / 3.679 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004403/8.391, allocations: 370.7 kB / 3.68 GB, free: 41.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/8.393, allocations: 0.5734 MB / 3.68 GB, free: 40.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.779e-05/8.393, allocations: 28 kB / 3.68 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/8.393, allocations: 32 kB / 3.68 GB, free: 40.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001624/8.395, allocations: 0.5571 MB / 3.681 GB, free: 40.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/8.396, allocations: 0.6744 MB / 3.682 GB, free: 39.31 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/8.396, allocations: 0 / 3.682 GB, free: 39.31 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.956e-05/8.397, allocations: 4 kB / 3.682 GB, free: 39.31 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/8.397, allocations: 21.31 kB / 3.682 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3429/8.74, allocations: 44.51 MB / 3.725 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/8.74, allocations: 314.8 kB / 3.725 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/8.741, allocations: 204.1 kB / 3.726 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08076/8.822, allocations: 24.21 MB / 3.749 GB, free: 93.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/8.822, allocations: 41.62 kB / 3.749 GB, free: 93.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 3.016e-06/8.822, allocations: 0 / 3.749 GB, free: 93.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.004096/8.826, allocations: 0.8231 MB / 3.75 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/8.826, allocations: 113.1 kB / 3.75 GB, free: 92.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007095/8.827, allocations: 411.3 kB / 3.75 GB, free: 92.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.074e-05/8.827, allocations: 25.7 kB / 3.751 GB, free: 92.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/8.827, allocations: 332.4 kB / 3.751 GB, free: 92.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/8.827, allocations: 140.8 kB / 3.751 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/8.827, allocations: 0 / 3.751 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.765e-05/8.827, allocations: 340.3 kB / 3.751 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005151/8.828, allocations: 197.6 kB / 3.751 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/8.828, allocations: 370.1 kB / 3.752 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/8.83, allocations: 337.8 kB / 3.752 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/8.83, allocations: 6.25 kB / 3.752 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.004399/8.835, allocations: 1.019 MB / 3.753 GB, free: 91.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004098/8.835, allocations: 1.998 MB / 3.755 GB, free: 89.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/8.835, allocations: 14.48 kB / 3.755 GB, free: 89.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/8.836, allocations: 183.5 kB / 3.755 GB, free: 89.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/8.838, allocations: 148.2 kB / 3.755 GB, free: 89.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/8.84, allocations: 0.8839 MB / 3.756 GB, free: 89.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/8.841, allocations: 106.8 kB / 3.756 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.757e-05/8.841, allocations: 40.09 kB / 3.756 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/8.841, allocations: 3.812 kB / 3.756 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004389/8.846, allocations: 0.752 MB / 3.757 GB, free: 89.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/8.846, allocations: 7.625 kB / 3.757 GB, free: 89.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/8.847, allocations: 159.7 kB / 3.757 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009864/8.848, allocations: 151.9 kB / 3.757 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/8.849, allocations: 0.7635 MB / 3.758 GB, free: 88.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/8.85, allocations: 109 kB / 3.758 GB, free: 88.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.612e-05/8.85, allocations: 32.61 kB / 3.758 GB, free: 88.64 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 (58): * Single equations (assignments): 57 * 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.0002297/8.851, allocations: 48.12 kB / 3.758 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/8.852, allocations: 267.4 kB / 3.759 GB, free: 88.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005139/8.857, allocations: 2.549 MB / 3.761 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.067e-05/8.857, allocations: 27.38 kB / 3.761 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/8.857, allocations: 0 / 3.761 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/8.857, allocations: 4.359 kB / 3.761 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005622/8.863, allocations: 3.23 MB / 3.764 GB, free: 87.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/8.863, allocations: 0 / 3.764 GB, free: 87.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005161/8.863, allocations: 75.28 kB / 3.764 GB, free: 87.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00167/8.865, allocations: 0.6567 MB / 3.765 GB, free: 87.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/8.865, allocations: 13.12 kB / 3.765 GB, free: 87.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/8.867, allocations: 1.269 MB / 3.766 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/8.867, allocations: 3.906 kB / 3.766 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004275/8.871, allocations: 1.991 MB / 3.768 GB, free: 87.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005812/8.872, allocations: 269.3 kB / 3.769 GB, free: 86.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/8.872, allocations: 7.031 kB / 3.769 GB, free: 86.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009935/8.873, allocations: 76.45 kB / 3.769 GB, free: 86.92 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/8.873, allocations: 46.36 kB / 3.769 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/8.873, allocations: 20.97 kB / 3.769 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0006533/8.874, allocations: 383.1 kB / 3.769 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006459/8.881, allocations: 1.42 MB / 3.77 GB, free: 86.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.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 (36): * Single equations (assignments): 30 * 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.01051/8.891, allocations: 1.878 MB / 3.772 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003514/8.895, allocations: 1.332 MB / 3.774 GB, free: 86.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/8.895, allocations: 8.531 kB / 3.774 GB, free: 86.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/8.896, allocations: 0.9091 MB / 3.774 GB, free: 86.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/8.899, allocations: 252.9 kB / 3.775 GB, free: 86.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/8.902, allocations: 1.605 MB / 3.776 GB, free: 86.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008112/8.903, allocations: 1.128 MB / 3.777 GB, free: 85.56 MB / 0.5105 GB Notification: Performance of SimCode: time 1.233e-06/8.903, allocations: 3.344 kB / 3.777 GB, free: 85.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.06915/8.972, allocations: 36.38 MB / 3.813 GB, free: 82.57 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpNPSH/TestWaterPumpNPSH.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches