Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.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_3.2.3_cpp_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_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001672/0.001672, allocations: 174.8 kB / 8.148 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.692/1.692, 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.001329/0.001329, allocations: 94.91 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.2673/0.2673, allocations: 43.48 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.675e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.298, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.011/6.309, allocations: 2.764 GB / 3.229 GB, free: 23.02 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/6.309, allocations: 90.45 kB / 3.229 GB, free: 22.97 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.783/8.092, allocations: 416.9 MB / 3.637 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.877e-05/8.092, allocations: 16 kB / 3.637 GB, free: 4.594 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.007197/8.1, allocations: 1.648 MB / 3.638 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/8.1, allocations: 15.97 kB / 3.638 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/8.103, allocations: 318.8 kB / 3.639 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/8.104, allocations: 0.5274 MB / 3.639 GB, free: 2.012 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.228e-05/8.104, allocations: 24 kB / 3.639 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/8.105, allocations: 32 kB / 3.639 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001407/8.106, allocations: 0.518 MB / 3.64 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/8.107, allocations: 0.6387 MB / 3.64 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/8.107, allocations: 7.938 kB / 3.64 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-05/8.107, allocations: 0 / 3.64 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/8.108, allocations: 24.91 kB / 3.64 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3223/8.43, allocations: 44.25 MB / 3.683 GB, free: 79.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009168/8.431, allocations: 353.6 kB / 3.684 GB, free: 79.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/8.431, allocations: 191 kB / 3.684 GB, free: 79.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08084/8.512, allocations: 24.09 MB / 3.707 GB, free: 64.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/8.512, allocations: 40.64 kB / 3.708 GB, free: 64.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 2.725e-06/8.512, allocations: 0 / 3.708 GB, free: 64.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.004242/8.516, allocations: 0.8016 MB / 3.708 GB, free: 63.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/8.517, allocations: 106.4 kB / 3.708 GB, free: 63.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/8.517, allocations: 371.9 kB / 3.709 GB, free: 63.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/8.517, allocations: 25.7 kB / 3.709 GB, free: 63.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/8.517, allocations: 323.4 kB / 3.709 GB, free: 63.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/8.518, allocations: 135.9 kB / 3.709 GB, free: 63.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/8.518, allocations: 0 / 3.709 GB, free: 63.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.086e-05/8.518, allocations: 329.9 kB / 3.71 GB, free: 63.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/8.518, allocations: 180.1 kB / 3.71 GB, free: 63.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/8.519, allocations: 342.5 kB / 3.71 GB, free: 62.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/8.52, allocations: 284.2 kB / 3.71 GB, free: 62.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/8.52, allocations: 3.281 kB / 3.71 GB, free: 62.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004582/8.525, allocations: 0.9982 MB / 3.711 GB, free: 62.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003951/8.525, allocations: 1.913 MB / 3.713 GB, free: 60.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/8.525, allocations: 7.5 kB / 3.713 GB, free: 60.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/8.527, allocations: 164.2 kB / 3.713 GB, free: 60.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/8.527, allocations: 132.7 kB / 3.713 GB, free: 60.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/8.529, allocations: 0.8039 MB / 3.714 GB, free: 60.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/8.531, allocations: 94.98 kB / 3.714 GB, free: 60.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/8.531, allocations: 39.73 kB / 3.714 GB, free: 60.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/8.531, allocations: 3.594 kB / 3.714 GB, free: 60.26 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004057/8.535, allocations: 0.7022 MB / 3.715 GB, free: 60.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/8.535, allocations: 6.469 kB / 3.715 GB, free: 60.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/8.536, allocations: 155.8 kB / 3.715 GB, free: 60.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000883/8.537, allocations: 125.6 kB / 3.715 GB, free: 60.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/8.538, allocations: 0.7584 MB / 3.716 GB, free: 59.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/8.539, allocations: 99.75 kB / 3.716 GB, free: 59.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.374e-05/8.539, allocations: 33.02 kB / 3.716 GB, free: 59.67 MB / 0.4948 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 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002479/8.54, allocations: 49 kB / 3.716 GB, free: 59.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/8.541, allocations: 262.6 kB / 3.716 GB, free: 59.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004705/8.545, allocations: 2.336 MB / 3.719 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.782e-05/8.546, allocations: 33.86 kB / 3.719 GB, free: 59.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/8.546, allocations: 0 / 3.719 GB, free: 59.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/8.546, allocations: 7.422 kB / 3.719 GB, free: 59.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005091/8.551, allocations: 3.018 MB / 3.722 GB, free: 59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/8.551, allocations: 0 / 3.722 GB, free: 59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/8.551, allocations: 73.22 kB / 3.722 GB, free: 59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/8.553, allocations: 353.6 kB / 3.722 GB, free: 58.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/8.553, allocations: 10.97 kB / 3.722 GB, free: 58.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/8.554, allocations: 0.9926 MB / 3.723 GB, free: 58.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/8.554, allocations: 0 / 3.723 GB, free: 58.45 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004039/8.558, allocations: 1.887 MB / 3.725 GB, free: 58.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005144/8.559, allocations: 267.6 kB / 3.725 GB, free: 58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/8.559, allocations: 0 / 3.725 GB, free: 58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008928/8.56, allocations: 65.86 kB / 3.725 GB, free: 57.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/8.56, allocations: 41.48 kB / 3.725 GB, free: 57.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-05/8.56, allocations: 20.86 kB / 3.725 GB, free: 57.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005791/8.561, allocations: 355.8 kB / 3.726 GB, free: 57.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006122/8.567, allocations: 1.334 MB / 3.727 GB, free: 57.87 MB / 0.4948 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.01001/8.577, allocations: 1.804 MB / 3.729 GB, free: 57.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003355/8.58, allocations: 1.264 MB / 3.73 GB, free: 57.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/8.58, allocations: 2.344 kB / 3.73 GB, free: 57.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/8.582, allocations: 0.8922 MB / 3.731 GB, free: 57.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/8.584, allocations: 242.8 kB / 3.731 GB, free: 57.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/8.587, allocations: 1.537 MB / 3.733 GB, free: 57.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007971/8.588, allocations: 1.096 MB / 3.734 GB, free: 56.55 MB / 0.4948 GB Notification: Performance of SimCode: time 1.373e-06/8.588, allocations: 0 / 3.734 GB, free: 56.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.06579/8.654, allocations: 34.79 MB / 3.768 GB, free: 53.19 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultLV/TestWaterPumpDefaultLV.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches