Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|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|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|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|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") [: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.0009288/0.000929, allocations: 186.2 kB / 7.799 MB, free: 2.496 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.031/1.031, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0008447/0.0008448, allocations: 85.16 kB / 261.4 MB, free: 13.56 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.1536/0.1536, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.62e-06/5.63e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2036, allocations: 58.84 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.857/4.061, allocations: 2.782 GB / 3.248 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001641/4.061, allocations: 87.5 kB / 3.248 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.936/5.997, allocations: 0.7589 GB / 4.007 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.72e-05/5.997, allocations: 39.83 kB / 4.007 GB, free: 13.14 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.007474/6.004, allocations: 2.74 MB / 4.009 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/6.004, allocations: 16.03 kB / 4.009 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004573/6.009, allocations: 0.681 MB / 4.01 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/6.01, allocations: 0.9852 MB / 4.011 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.613e-05/6.01, allocations: 44 kB / 4.011 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/6.01, allocations: 67.94 kB / 4.011 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001568/6.012, allocations: 1.094 MB / 4.012 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/6.014, allocations: 1.321 MB / 4.014 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/6.014, allocations: 7.938 kB / 4.014 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/6.014, allocations: 4 kB / 4.014 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-05/6.014, allocations: 49.94 kB / 4.014 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3212/6.335, allocations: 88.72 MB / 4.1 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/6.336, allocations: 0.7099 MB / 4.101 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/6.337, allocations: 413 kB / 4.101 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04144/6.378, allocations: 24.25 MB / 4.125 GB, free: 34.76 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/6.378, allocations: 43.28 kB / 4.125 GB, free: 34.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=86): time 2.976e-06/6.378, allocations: 3.75 kB / 4.125 GB, free: 34.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86): time 0.005454/6.384, allocations: 1.645 MB / 4.127 GB, free: 34.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/6.384, allocations: 167.6 kB / 4.127 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/6.385, allocations: 0.7097 MB / 4.128 GB, free: 34.33 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/6.385, allocations: 25.7 kB / 4.128 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/6.385, allocations: 495.8 kB / 4.128 GB, free: 34.06 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/6.386, allocations: 280.6 kB / 4.128 GB, free: 33.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/6.386, allocations: 0 / 4.128 GB, free: 33.92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.887e-05/6.386, allocations: 349.1 kB / 4.129 GB, free: 33.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/6.386, allocations: 390 kB / 4.129 GB, free: 33.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006533/6.387, allocations: 0.7035 MB / 4.13 GB, free: 33.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/6.389, allocations: 0.6439 MB / 4.13 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/6.389, allocations: 0 / 4.13 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005144/6.394, allocations: 2.027 MB / 4.132 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007286/6.395, allocations: 3.749 MB / 4.136 GB, free: 29.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/6.395, allocations: 10.31 kB / 4.136 GB, free: 29.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/6.397, allocations: 342.6 kB / 4.136 GB, free: 29.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/6.398, allocations: 311.4 kB / 4.137 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/6.4, allocations: 1.758 MB / 4.138 GB, free: 44.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/6.402, allocations: 261.6 kB / 4.139 GB, free: 44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/6.402, allocations: 69.61 kB / 4.139 GB, free: 44 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/6.402, allocations: 5.125 kB / 4.139 GB, free: 44 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002772/6.405, allocations: 1.141 MB / 4.14 GB, free: 43.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/6.405, allocations: 11.06 kB / 4.14 GB, free: 43.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/6.405, allocations: 16.16 kB / 4.14 GB, free: 43.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/6.407, allocations: 479.6 kB / 4.14 GB, free: 43.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/6.407, allocations: 23.81 kB / 4.14 GB, free: 43.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/6.409, allocations: 231.7 kB / 4.14 GB, free: 43.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/6.409, allocations: 63.83 kB / 4.141 GB, free: 43.93 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,source.medium.phase,source1.medium.phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (114): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002674/6.409, allocations: 132.5 kB / 4.141 GB, free: 43.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/6.41, allocations: 0.5261 MB / 4.141 GB, free: 43.76 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005385/6.416, allocations: 4.851 MB / 4.146 GB, free: 43.37 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.404e-05/6.416, allocations: 54.22 kB / 4.146 GB, free: 43.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/6.416, allocations: 0 / 4.146 GB, free: 43.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/6.416, allocations: 11.36 kB / 4.146 GB, free: 43.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007007/6.423, allocations: 6.472 MB / 4.152 GB, free: 42.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/6.423, allocations: 7.156 kB / 4.152 GB, free: 42.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/6.424, allocations: 176.5 kB / 4.152 GB, free: 42.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/6.425, allocations: 1.067 MB / 4.153 GB, free: 42.67 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.88e-05/6.425, allocations: 27.55 kB / 4.154 GB, free: 42.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002473/6.428, allocations: 2.501 MB / 4.156 GB, free: 41.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/6.428, allocations: 3.031 kB / 4.156 GB, free: 41.59 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005335/6.433, allocations: 3.933 MB / 4.16 GB, free: 41.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007189/6.434, allocations: 460 kB / 4.16 GB, free: 40.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/6.434, allocations: 3.281 kB / 4.16 GB, free: 40.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/6.435, allocations: 154.9 kB / 4.16 GB, free: 40.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/6.436, allocations: 94.09 kB / 4.16 GB, free: 40.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.183e-05/6.436, allocations: 46.92 kB / 4.161 GB, free: 40.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0008288/6.437, allocations: 0.6706 MB / 4.161 GB, free: 40.71 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006361/6.443, allocations: 1.83 MB / 4.163 GB, free: 40.64 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 32 ($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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 14,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.008653/6.452, allocations: 2.356 MB / 4.165 GB, free: 40.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003852/6.455, allocations: 2.671 MB / 4.168 GB, free: 40.22 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/6.455, allocations: 1.312 kB / 4.168 GB, free: 40.22 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/6.457, allocations: 1.867 MB / 4.17 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/6.46, allocations: 496.1 kB / 4.17 GB, free: 40.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/6.464, allocations: 3.196 MB / 4.173 GB, free: 39.53 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/6.466, allocations: 1.577 MB / 4.175 GB, free: 38.77 MB / 0.5417 GB Notification: Performance of SimCode: time 7.21e-07/6.466, allocations: 0 / 4.175 GB, free: 38.77 MB / 0.5417 GB Notification: Performance of Templates: time 0.07605/6.542, allocations: 62.69 MB / 4.236 GB, free: 23.83 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestControlledPump/TestControlledPump.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches