Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.00149/0.00149, allocations: 199.8 kB / 8.538 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009014/0.0009013, allocations: 94.58 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1793/0.1793, allocations: 45.14 MB / 383.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.041e-06/6.051e-06, allocations: 0 / 452.6 MB, free: 76.23 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 63.25 MB / 0.5038 GB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.295/5.412, allocations: 2.789 GB / 3.293 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/5.412, allocations: 87.38 kB / 3.293 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.923/8.336, allocations: 0.7674 GB / 4.06 GB, free: 47.1 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001125/8.336, allocations: 40.45 kB / 4.06 GB, free: 47.1 MB / 0.5573 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.01294/8.349, allocations: 2.754 MB / 4.063 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/8.349, allocations: 9.375 kB / 4.063 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006431/8.355, allocations: 0.7107 MB / 4.063 GB, free: 46.04 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003337/8.359, allocations: 0.983 MB / 4.064 GB, free: 45.71 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-05/8.359, allocations: 52.84 kB / 4.064 GB, free: 45.71 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/8.359, allocations: 60.78 kB / 4.065 GB, free: 45.71 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002288/8.361, allocations: 1.1 MB / 4.066 GB, free: 45.71 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/8.364, allocations: 1.319 MB / 4.067 GB, free: 45.32 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/8.364, allocations: 5.031 kB / 4.067 GB, free: 45.31 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/8.364, allocations: 7.875 kB / 4.067 GB, free: 45.31 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.826e-05/8.364, allocations: 42.39 kB / 4.067 GB, free: 45.31 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.191/8.555, allocations: 99.72 MB / 4.164 GB, free: 28.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/8.556, allocations: 0.7065 MB / 4.165 GB, free: 28.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/8.557, allocations: 413.1 kB / 4.165 GB, free: 28.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05676/8.614, allocations: 27.36 MB / 4.192 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/8.614, allocations: 47.59 kB / 4.192 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=86): time 6.041e-06/8.614, allocations: 0 / 4.192 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=86): time 0.006503/8.62, allocations: 1.647 MB / 4.194 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.859e-05/8.62, allocations: 161.7 kB / 4.194 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/8.622, allocations: 0.7131 MB / 4.195 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/8.622, allocations: 25.7 kB / 4.195 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/8.622, allocations: 497 kB / 4.195 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/8.622, allocations: 284.8 kB / 4.195 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/8.622, allocations: 0 / 4.195 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001628/8.622, allocations: 340.7 kB / 4.196 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/8.623, allocations: 392.6 kB / 4.196 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007703/8.624, allocations: 0.707 MB / 4.197 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/8.626, allocations: 0.6451 MB / 4.197 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/8.626, allocations: 4 kB / 4.197 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005578/8.632, allocations: 2.026 MB / 4.199 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00172/8.633, allocations: 3.741 MB / 4.203 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/8.633, allocations: 16 kB / 4.203 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/8.635, allocations: 349.3 kB / 4.203 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/8.636, allocations: 303.8 kB / 4.204 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/8.639, allocations: 1.75 MB / 4.205 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/8.641, allocations: 260.7 kB / 4.206 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/8.641, allocations: 67.64 kB / 4.206 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/8.641, allocations: 5.531 kB / 4.206 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003066/8.644, allocations: 1.144 MB / 4.207 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/8.644, allocations: 14.69 kB / 4.207 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/8.644, allocations: 16.69 kB / 4.207 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/8.647, allocations: 472.2 kB / 4.207 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-05/8.647, allocations: 22.19 kB / 4.207 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/8.649, allocations: 230.9 kB / 4.208 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/8.649, allocations: 61.86 kB / 4.208 GB, free: 18.55 MB / 0.6198 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.0005081/8.649, allocations: 147.4 kB / 4.208 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/8.651, allocations: 0.5277 MB / 4.208 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00664/8.658, allocations: 4.846 MB / 4.213 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-05/8.658, allocations: 53.2 kB / 4.213 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/8.658, allocations: 0 / 4.213 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.88e-05/8.658, allocations: 6.844 kB / 4.213 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/8.668, allocations: 6.478 MB / 4.219 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/8.668, allocations: 0 / 4.219 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006677/8.669, allocations: 183.8 kB / 4.22 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002032/8.671, allocations: 1.069 MB / 4.221 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.702e-05/8.671, allocations: 21.98 kB / 4.221 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002953/8.674, allocations: 2.516 MB / 4.223 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/8.674, allocations: 9.781 kB / 4.223 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006168/8.68, allocations: 3.927 MB / 4.227 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/8.681, allocations: 458.4 kB / 4.227 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/8.681, allocations: 6.391 kB / 4.227 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/8.683, allocations: 145.9 kB / 4.228 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/8.683, allocations: 96.73 kB / 4.228 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/8.683, allocations: 43.36 kB / 4.228 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001034/8.684, allocations: 0.6706 MB / 4.228 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00874/8.693, allocations: 1.843 MB / 4.23 GB, free: 14.97 MB / 0.6198 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.01057/8.703, allocations: 2.374 MB / 4.232 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005606/8.709, allocations: 2.667 MB / 4.235 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/8.709, allocations: 0 / 4.235 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002493/8.712, allocations: 1.866 MB / 4.237 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/8.715, allocations: 493 kB / 4.237 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/8.721, allocations: 3.186 MB / 4.24 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/8.723, allocations: 1.57 MB / 4.242 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of SimCode: time 9.21e-07/8.723, allocations: 4 kB / 4.242 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.4464/9.169, allocations: 62.96 MB / 4.303 GB, free: 149.9 MB / 0.6198 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestControlledPump/TestControlledPump.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches