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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009215/0.0009212, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.454/1.454, allocations: 205.3 MB / 213.7 MB, free: 1.684 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008759/0.0008758, allocations: 86.62 kB / 261.7 MB, free: 1.625 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.1964/0.1964, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.564e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 58.85 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.736/5.853, allocations: 2.782 GB / 3.248 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/5.853, allocations: 89.25 kB / 3.248 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.495/8.349, allocations: 0.7558 GB / 4.004 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.573e-06/8.349, allocations: 0 / 4.004 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001836/8.349, allocations: 35.91 kB / 4.004 GB, free: 2.965 MB / 0.5261 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.01049/8.359, allocations: 2.7 MB / 4.007 GB, free: 228 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/8.359, allocations: 8.031 kB / 4.007 GB, free: 220 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3893/8.749, allocations: 0.644 MB / 4.008 GB, free: 47.19 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/8.751, allocations: 0.9786 MB / 4.008 GB, free: 46.92 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/8.752, allocations: 47.69 kB / 4.009 GB, free: 46.92 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/8.752, allocations: 64.09 kB / 4.009 GB, free: 46.92 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002089/8.754, allocations: 1.09 MB / 4.01 GB, free: 46.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/8.756, allocations: 1.319 MB / 4.011 GB, free: 46.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/8.756, allocations: 6.469 kB / 4.011 GB, free: 46.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/8.756, allocations: 5.031 kB / 4.011 GB, free: 46.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-05/8.756, allocations: 43.89 kB / 4.011 GB, free: 46.51 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.1558/8.912, allocations: 88.41 MB / 4.097 GB, free: 23.48 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/8.914, allocations: 0.8122 MB / 4.098 GB, free: 23.44 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000503/8.914, allocations: 407.4 kB / 4.099 GB, free: 23.43 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04409/8.958, allocations: 24.32 MB / 4.122 GB, free: 23.79 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.198e-05/8.958, allocations: 48.83 kB / 4.122 GB, free: 23.75 MB / 0.573 GB Notification: Performance of pre-optimization done (n=86): time 3.276e-06/8.958, allocations: 0 / 4.122 GB, free: 23.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=86): time 0.005577/8.964, allocations: 1.69 MB / 4.124 GB, free: 23.62 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/8.964, allocations: 167.3 kB / 4.124 GB, free: 23.43 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/8.965, allocations: 0.6956 MB / 4.125 GB, free: 23.28 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/8.965, allocations: 25.7 kB / 4.125 GB, free: 23.25 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/8.966, allocations: 0.6126 MB / 4.125 GB, free: 23.01 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/8.966, allocations: 288.3 kB / 4.126 GB, free: 22.86 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/8.966, allocations: 1.781 kB / 4.126 GB, free: 22.86 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001444/8.966, allocations: 349.7 kB / 4.126 GB, free: 22.56 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004549/8.966, allocations: 330.2 kB / 4.126 GB, free: 22.56 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/8.967, allocations: 0.6512 MB / 4.127 GB, free: 22.17 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/8.969, allocations: 0.5797 MB / 4.128 GB, free: 22.15 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/8.969, allocations: 5.891 kB / 4.128 GB, free: 22.15 MB / 0.573 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003439/8.973, allocations: 1.385 MB / 4.129 GB, free: 22.02 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001336/8.974, allocations: 3.755 MB / 4.133 GB, free: 18.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/8.974, allocations: 6.781 kB / 4.133 GB, free: 18.09 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/8.975, allocations: 337.6 kB / 4.133 GB, free: 18.07 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009921/8.976, allocations: 291.4 kB / 4.133 GB, free: 18.06 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/8.978, allocations: 1.614 MB / 4.135 GB, free: 17.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/8.98, allocations: 245.8 kB / 4.135 GB, free: 16.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/8.98, allocations: 69.14 kB / 4.135 GB, free: 16.97 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/8.98, allocations: 2.844 kB / 4.135 GB, free: 16.97 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00243/8.983, allocations: 1.018 MB / 4.136 GB, free: 16.95 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/8.983, allocations: 14.03 kB / 4.136 GB, free: 16.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/8.983, allocations: 21.95 kB / 4.136 GB, free: 16.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/8.985, allocations: 450.4 kB / 4.137 GB, free: 16.94 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/8.985, allocations: 24.92 kB / 4.137 GB, free: 16.94 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/8.986, allocations: 212.5 kB / 4.137 GB, free: 16.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-05/8.987, allocations: 60.2 kB / 4.137 GB, free: 16.91 MB / 0.573 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.0003589/8.987, allocations: 151.6 kB / 4.137 GB, free: 16.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/8.987, allocations: 111.8 kB / 4.137 GB, free: 16.74 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005263/8.992, allocations: 4.682 MB / 4.142 GB, free: 16.25 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-05/8.992, allocations: 69.17 kB / 4.142 GB, free: 16.25 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/8.992, allocations: 0 / 4.142 GB, free: 16.25 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/8.993, allocations: 3.75 kB / 4.142 GB, free: 16.25 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007582/9, allocations: 6.417 MB / 4.148 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/9, allocations: 4.031 kB / 4.148 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006265/9.001, allocations: 177.6 kB / 4.148 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/9.003, allocations: 1.726 MB / 4.15 GB, free: 15.52 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-05/9.003, allocations: 12.77 kB / 4.15 GB, free: 15.52 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002963/9.006, allocations: 2.981 MB / 4.153 GB, free: 14.41 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/9.006, allocations: 3.141 kB / 4.153 GB, free: 14.41 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004278/9.01, allocations: 3.211 MB / 4.156 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009991/9.011, allocations: 467.7 kB / 4.156 GB, free: 13.75 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/9.012, allocations: 5.297 kB / 4.156 GB, free: 13.75 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/9.013, allocations: 160.8 kB / 4.156 GB, free: 13.73 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/9.013, allocations: 84.17 kB / 4.157 GB, free: 13.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/9.013, allocations: 43.31 kB / 4.157 GB, free: 13.73 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008748/9.014, allocations: 0.6475 MB / 4.157 GB, free: 13.62 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/9.014, allocations: 0 / 4.157 GB, free: 13.62 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008051/9.022, allocations: 1.79 MB / 4.159 GB, free: 13.48 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.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 (79): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.01056/9.032, allocations: 2.295 MB / 4.161 GB, free: 13.12 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004375/9.037, allocations: 2.002 MB / 4.163 GB, free: 13.08 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/9.037, allocations: 0.5625 kB / 4.163 GB, free: 13.08 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00156/9.039, allocations: 1.205 MB / 4.164 GB, free: 13.05 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/9.042, allocations: 0.4959 MB / 4.165 GB, free: 13.02 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/9.046, allocations: 2.929 MB / 4.168 GB, free: 12.34 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009018/9.047, allocations: 1.527 MB / 4.169 GB, free: 11.58 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002533/9.05, allocations: 1.554 MB / 4.171 GB, free: 11.51 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/9.05, allocations: 88.5 kB / 4.171 GB, free: 11.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.022e-06/9.05, allocations: 4 kB / 4.171 GB, free: 11.5 MB / 0.573 GB Notification: Performance of Templates: time 0.4147/9.464, allocations: 52.39 MB / 4.222 GB, free: 92.18 MB / 0.573 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