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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001814/0.001814, allocations: 196.5 kB / 18.1 MB, free: 3.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 226.5 MB / 245.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009349/0.000935, allocations: 92.42 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4881/0.4881, allocations: 44.83 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.000323, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4741/0.4745, allocations: 62.96 MB / 0.5184 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.664/8.139, allocations: 2.79 GB / 3.308 GB, free: 164.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005104/8.139, allocations: 100.4 kB / 3.308 GB, free: 164.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.958/11.1, allocations: 0.7343 GB / 4.043 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of FrontEnd: time 5.12e-06/11.1, allocations: 3.438 kB / 4.043 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.00012/11.1, allocations: 42.2 kB / 4.043 GB, free: 56.9 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.01261/11.11, allocations: 2.883 MB / 4.046 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/11.11, allocations: 11.66 kB / 4.046 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005629/11.12, allocations: 0.6661 MB / 4.046 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/11.12, allocations: 1.02 MB / 4.047 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/11.12, allocations: 100.3 kB / 4.047 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/11.12, allocations: 110.6 kB / 4.047 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004934/11.12, allocations: 2.03 MB / 4.049 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/11.12, allocations: 7.094 kB / 4.049 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/11.12, allocations: 56.23 kB / 4.05 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.42e-05/11.12, allocations: 43.27 kB / 4.05 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004863/11.13, allocations: 1.88 MB / 4.051 GB, free: 54.59 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/11.14, allocations: 9.488 MB / 4.061 GB, free: 48.15 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004756/11.15, allocations: 1.642 MB / 4.062 GB, free: 48.11 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/11.15, allocations: 0.6187 MB / 4.063 GB, free: 48.11 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05111/11.2, allocations: 26.82 MB / 4.089 GB, free: 29.84 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.418e-05/11.2, allocations: 39.31 kB / 4.089 GB, free: 29.79 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=94): time 4.338e-06/11.2, allocations: 0 / 4.089 GB, free: 29.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=94): time 0.01568/11.21, allocations: 3.494 MB / 4.093 GB, free: 28.83 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/11.21, allocations: 168.3 kB / 4.093 GB, free: 28.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/11.22, allocations: 0.8963 MB / 4.094 GB, free: 28.27 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003339/11.22, allocations: 41.67 kB / 4.094 GB, free: 28.22 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000728/11.22, allocations: 0.587 MB / 4.094 GB, free: 27.76 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005259/11.22, allocations: 312.3 kB / 4.094 GB, free: 27.52 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/11.22, allocations: 31.5 kB / 4.094 GB, free: 27.49 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001276/11.22, allocations: 347.3 kB / 4.095 GB, free: 27.17 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/11.22, allocations: 0.498 MB / 4.095 GB, free: 27.03 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/11.22, allocations: 0.8482 MB / 4.096 GB, free: 26.47 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/11.22, allocations: 1.339 MB / 4.097 GB, free: 25.71 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/11.22, allocations: 2.875 kB / 4.097 GB, free: 25.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00441/11.23, allocations: 1.657 MB / 4.099 GB, free: 25.11 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004177/11.23, allocations: 379.3 kB / 4.099 GB, free: 24.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/11.23, allocations: 7.844 kB / 4.099 GB, free: 24.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003144/11.23, allocations: 0.5802 MB / 4.1 GB, free: 24.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/11.23, allocations: 292.8 kB / 4.1 GB, free: 24.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/11.24, allocations: 1.571 MB / 4.102 GB, free: 23.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/11.24, allocations: 240.2 kB / 4.102 GB, free: 23.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/11.24, allocations: 71.73 kB / 4.102 GB, free: 23.17 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/11.24, allocations: 3.312 kB / 4.102 GB, free: 23.17 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003292/11.24, allocations: 1.358 MB / 4.103 GB, free: 22.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/11.24, allocations: 7.594 kB / 4.103 GB, free: 22.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/11.24, allocations: 13.81 kB / 4.103 GB, free: 22.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/11.24, allocations: 457.2 kB / 4.104 GB, free: 22.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.442e-05/11.24, allocations: 22.48 kB / 4.104 GB, free: 22.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/11.25, allocations: 229.1 kB / 4.104 GB, free: 22.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/11.25, allocations: 62.05 kB / 4.104 GB, free: 22.59 MB / 0.5573 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 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].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 () * Number of clocked 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.001305/11.25, allocations: 389.9 kB / 4.105 GB, free: 22.28 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/11.25, allocations: 120.2 kB / 4.105 GB, free: 22.22 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009107/11.26, allocations: 5.897 MB / 4.11 GB, free: 19.54 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-05/11.26, allocations: 83.86 kB / 4.111 GB, free: 19.52 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/11.26, allocations: 7.938 kB / 4.111 GB, free: 19.51 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/11.26, allocations: 3.375 kB / 4.111 GB, free: 19.51 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/11.27, allocations: 8.04 MB / 4.118 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/11.27, allocations: 0 / 4.118 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008774/11.27, allocations: 221.3 kB / 4.119 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003942/11.28, allocations: 1.638 MB / 4.12 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/11.28, allocations: 27.28 kB / 4.12 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003366/11.28, allocations: 2.651 MB / 4.123 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/11.28, allocations: 0 / 4.123 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006322/11.29, allocations: 3.781 MB / 4.126 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/11.29, allocations: 0.5582 MB / 4.127 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/11.29, allocations: 27.94 kB / 4.127 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/11.29, allocations: 186.9 kB / 4.127 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/11.29, allocations: 102.4 kB / 4.127 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.445e-05/11.29, allocations: 42.7 kB / 4.127 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001342/11.29, allocations: 0.8018 MB / 4.128 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.32e-07/11.29, allocations: 0 / 4.128 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01124/11.3, allocations: 1.892 MB / 4.13 GB, free: 1.961 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 48 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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 16,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01554/11.32, allocations: 2.144 MB / 4.132 GB, free: 340 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01085/11.33, allocations: 2.945 MB / 4.135 GB, free: 14.54 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/11.33, allocations: 0 / 4.135 GB, free: 14.54 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002831/11.33, allocations: 1.597 MB / 4.137 GB, free: 13.09 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003919/11.33, allocations: 0.6151 MB / 4.137 GB, free: 12.64 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009174/11.34, allocations: 5.513 MB / 4.143 GB, free: 7.543 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/11.34, allocations: 1.593 MB / 4.144 GB, free: 6.191 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00264/11.35, allocations: 1.357 MB / 4.145 GB, free: 5.391 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/11.35, allocations: 114.3 kB / 4.146 GB, free: 5.289 MB / 0.573 GB Notification: Performance of SimCode: time 1.022e-06/11.35, allocations: 0 / 4.146 GB, free: 5.289 MB / 0.573 GB Notification: Performance of Templates: time 0.5532/11.9, allocations: 64.76 MB / 4.209 GB, free: 67.32 MB / 0.573 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/jenkins1/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