Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000947/0.0009471, allocations: 184.2 kB / 7.801 MB, free: 2.445 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.002/1.002, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0007821/0.0007822, allocations: 83.36 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.1551/0.1551, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.893e-06/6.913e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2244, allocations: 58.83 MB / 476.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.949/4.173, allocations: 2.781 GB / 3.247 GB, free: 85.64 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/4.173, allocations: 83.95 kB / 3.247 GB, free: 85.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.085/5.259, allocations: 436.6 MB / 3.673 GB, free: 33.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.397e-05/5.259, allocations: 23.77 kB / 3.673 GB, free: 33.11 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.005438/5.264, allocations: 1.792 MB / 3.675 GB, free: 31.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/5.264, allocations: 12.03 kB / 3.675 GB, free: 31.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002324/5.266, allocations: 353.6 kB / 3.675 GB, free: 30.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008388/5.267, allocations: 0.5871 MB / 3.676 GB, free: 30.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/5.267, allocations: 24 kB / 3.676 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/5.267, allocations: 35.91 kB / 3.676 GB, free: 30.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007951/5.268, allocations: 0.5649 MB / 3.676 GB, free: 29.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008038/5.269, allocations: 0.6804 MB / 3.677 GB, free: 28.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/5.269, allocations: 3.938 kB / 3.677 GB, free: 28.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.823e-05/5.269, allocations: 7.969 kB / 3.677 GB, free: 28.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/5.269, allocations: 21.31 kB / 3.677 GB, free: 28.92 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2219/5.491, allocations: 44.37 MB / 3.72 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008395/5.492, allocations: 422.9 kB / 3.721 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/5.492, allocations: 206.2 kB / 3.721 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0424/5.535, allocations: 24.08 MB / 3.745 GB, free: 95.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/5.535, allocations: 41.91 kB / 3.745 GB, free: 95.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 2.415e-06/5.535, allocations: 0 / 3.745 GB, free: 95.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.002596/5.537, allocations: 0.8466 MB / 3.745 GB, free: 95.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/5.537, allocations: 106.8 kB / 3.746 GB, free: 95.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005042/5.538, allocations: 424.5 kB / 3.746 GB, free: 95.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/5.538, allocations: 25.7 kB / 3.746 GB, free: 95.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/5.538, allocations: 302.1 kB / 3.746 GB, free: 95.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/5.538, allocations: 148.5 kB / 3.746 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/5.538, allocations: 2.719 kB / 3.746 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.055e-05/5.538, allocations: 360.5 kB / 3.747 GB, free: 94.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/5.539, allocations: 212.6 kB / 3.747 GB, free: 94.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/5.539, allocations: 382.1 kB / 3.747 GB, free: 94.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/5.54, allocations: 360.5 kB / 3.748 GB, free: 94.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/5.54, allocations: 0 / 3.748 GB, free: 94.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002667/5.543, allocations: 1.102 MB / 3.749 GB, free: 94.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003063/5.543, allocations: 2.003 MB / 3.751 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/5.543, allocations: 3.875 kB / 3.751 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/5.544, allocations: 295.6 kB / 3.751 GB, free: 92.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/5.545, allocations: 154.9 kB / 3.751 GB, free: 92.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/5.546, allocations: 0.9631 MB / 3.752 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008493/5.547, allocations: 133.1 kB / 3.752 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/5.547, allocations: 40.44 kB / 3.752 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/5.547, allocations: 5.844 kB / 3.752 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002448/5.55, allocations: 0.7801 MB / 3.753 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/5.55, allocations: 7.938 kB / 3.753 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008012/5.551, allocations: 180.4 kB / 3.753 GB, free: 91.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/5.551, allocations: 166 kB / 3.753 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/5.552, allocations: 0.7895 MB / 3.754 GB, free: 91.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006994/5.553, allocations: 112.1 kB / 3.754 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/5.553, allocations: 40.81 kB / 3.754 GB, free: 91.38 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.0001471/5.553, allocations: 124.2 kB / 3.754 GB, free: 91.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000708/5.554, allocations: 270 kB / 3.755 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/5.557, allocations: 2.531 MB / 3.757 GB, free: 91.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/5.557, allocations: 26.14 kB / 3.757 GB, free: 91.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/5.557, allocations: 3.125 kB / 3.757 GB, free: 91.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/5.557, allocations: 6.594 kB / 3.757 GB, free: 91.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003533/5.56, allocations: 3.294 MB / 3.76 GB, free: 90.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/5.56, allocations: 3.75 kB / 3.76 GB, free: 90.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/5.561, allocations: 64.33 kB / 3.76 GB, free: 90.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/5.562, allocations: 0.7705 MB / 3.761 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/5.562, allocations: 7.844 kB / 3.761 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/5.563, allocations: 1.318 MB / 3.762 GB, free: 90.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/5.563, allocations: 7 kB / 3.762 GB, free: 90.09 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002719/5.566, allocations: 2.087 MB / 3.765 GB, free: 89.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/5.566, allocations: 274 kB / 3.765 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/5.566, allocations: 0 / 3.765 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005364/5.567, allocations: 73.92 kB / 3.765 GB, free: 89.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/5.567, allocations: 41.66 kB / 3.765 GB, free: 89.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/5.567, allocations: 22.33 kB / 3.765 GB, free: 89.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003374/5.567, allocations: 388.9 kB / 3.765 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004534/5.572, allocations: 1.425 MB / 3.767 GB, free: 89.52 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.005636/5.578, allocations: 1.871 MB / 3.768 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00208/5.58, allocations: 1.401 MB / 3.77 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/5.58, allocations: 2.938 kB / 3.77 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007904/5.581, allocations: 0.9169 MB / 3.771 GB, free: 89.37 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/5.582, allocations: 254.4 kB / 3.771 GB, free: 89.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/5.584, allocations: 1.599 MB / 3.773 GB, free: 89.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004725/5.584, allocations: 1.128 MB / 3.774 GB, free: 88.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.9e-07/5.584, allocations: 0 / 3.774 GB, free: 88.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.04776/5.632, allocations: 44.49 MB / 3.817 GB, free: 86.25 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches