Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001128, allocations: 185.1 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009809/0.0009807, allocations: 99.16 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4207/0.4207, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.0004269, allocations: 8 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4545, allocations: 61.89 MB / 0.5096 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.9/7.354, allocations: 2.788 GB / 3.297 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/7.355, allocations: 91.92 kB / 3.297 GB, free: 66.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.358/8.713, allocations: 445.8 MB / 3.733 GB, free: 37.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.944e-06/8.713, allocations: 0 / 3.733 GB, free: 37.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.118e-05/8.713, allocations: 23.94 kB / 3.733 GB, free: 37.26 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.0066/8.72, allocations: 1.867 MB / 3.734 GB, free: 35.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/8.72, allocations: 8.031 kB / 3.734 GB, free: 35.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/8.722, allocations: 331.1 kB / 3.735 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/8.723, allocations: 0.5886 MB / 3.735 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/8.723, allocations: 45.31 kB / 3.735 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/8.723, allocations: 60 kB / 3.735 GB, free: 34.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/8.725, allocations: 1.022 MB / 3.736 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/8.725, allocations: 3.938 kB / 3.736 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/8.725, allocations: 24 kB / 3.736 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/8.725, allocations: 29.31 kB / 3.737 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/8.728, allocations: 0.926 MB / 3.737 GB, free: 32.57 MB / 0.5261 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.004335/8.732, allocations: 4.844 MB / 3.742 GB, free: 27.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/8.734, allocations: 0.8327 MB / 3.743 GB, free: 26.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03544/8.77, allocations: 24.08 MB / 3.766 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/8.77, allocations: 47 kB / 3.767 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/8.77, allocations: 0 / 3.767 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.008434/8.778, allocations: 1.87 MB / 3.768 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.225e-05/8.778, allocations: 115.2 kB / 3.768 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/8.779, allocations: 474.1 kB / 3.769 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.261e-05/8.779, allocations: 33.7 kB / 3.769 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/8.78, allocations: 347.6 kB / 3.769 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/8.78, allocations: 157.6 kB / 3.769 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/8.78, allocations: 12 kB / 3.769 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002254/8.78, allocations: 370.8 kB / 3.77 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/8.782, allocations: 269.1 kB / 3.77 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/8.783, allocations: 448.1 kB / 3.77 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/8.785, allocations: 304.7 kB / 3.771 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/8.785, allocations: 4 kB / 3.771 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003937/8.789, allocations: 0.898 MB / 3.772 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001145/8.79, allocations: 2.009 MB / 3.774 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/8.79, allocations: 4 kB / 3.774 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004685/8.794, allocations: 474.1 kB / 3.774 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/8.796, allocations: 143.8 kB / 3.774 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/8.798, allocations: 0.8527 MB / 3.775 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/8.8, allocations: 127.4 kB / 3.775 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/8.8, allocations: 39.97 kB / 3.775 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/8.8, allocations: 7.953 kB / 3.775 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003796/8.804, allocations: 0.8268 MB / 3.776 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/8.804, allocations: 4 kB / 3.776 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002025/8.806, allocations: 208.9 kB / 3.776 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/8.807, allocations: 167.7 kB / 3.776 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/8.809, allocations: 0.7668 MB / 3.777 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/8.811, allocations: 107.5 kB / 3.777 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/8.811, allocations: 35.98 kB / 3.777 GB, free: 4.117 MB / 0.5417 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 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (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.0007128/8.811, allocations: 291 kB / 3.778 GB, free: 3.824 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/8.812, allocations: 63.25 kB / 3.778 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007646/8.819, allocations: 3.081 MB / 3.781 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.586e-05/8.82, allocations: 47.91 kB / 3.781 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/8.82, allocations: 0 / 3.781 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/8.82, allocations: 7.922 kB / 3.781 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.298/9.118, allocations: 1.479 MB / 3.782 GB, free: 72.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/9.118, allocations: 3.688 kB / 3.782 GB, free: 72.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000461/9.118, allocations: 91.12 kB / 3.782 GB, free: 72.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002977/9.121, allocations: 1.243 MB / 3.783 GB, free: 72.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-05/9.121, allocations: 13.62 kB / 3.783 GB, free: 72.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/9.123, allocations: 1.497 MB / 3.785 GB, free: 71.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/9.123, allocations: 0 / 3.785 GB, free: 71.74 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/9.125, allocations: 2.085 MB / 3.787 GB, free: 71.51 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/9.126, allocations: 332.1 kB / 3.787 GB, free: 71.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.088e-05/9.126, allocations: 17 kB / 3.787 GB, free: 71.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005323/9.126, allocations: 84.5 kB / 3.787 GB, free: 71.36 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/9.126, allocations: 52.95 kB / 3.787 GB, free: 71.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/9.126, allocations: 27.56 kB / 3.787 GB, free: 71.36 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005148/9.127, allocations: 476 kB / 3.788 GB, free: 71.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/9.127, allocations: 0 / 3.788 GB, free: 71.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005523/9.132, allocations: 1.438 MB / 3.789 GB, free: 71.23 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($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,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.006697/9.139, allocations: 1.718 MB / 3.791 GB, free: 71.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003195/9.142, allocations: 1.419 MB / 3.792 GB, free: 71.11 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/9.142, allocations: 0 / 3.792 GB, free: 71.11 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009415/9.143, allocations: 0.8026 MB / 3.793 GB, free: 71.09 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/9.145, allocations: 332.5 kB / 3.793 GB, free: 71.08 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/9.148, allocations: 2.926 MB / 3.796 GB, free: 69.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/9.148, allocations: 1.17 MB / 3.797 GB, free: 69.11 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009002/9.149, allocations: 0.6502 MB / 3.798 GB, free: 69.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/9.149, allocations: 60.06 kB / 3.798 GB, free: 69.09 MB / 0.5417 GB Notification: Performance of SimCode: time 9.82e-07/9.149, allocations: 2.344 kB / 3.798 GB, free: 69.09 MB / 0.5417 GB Notification: Performance of Templates: time 0.05694/9.206, allocations: 43.49 MB / 3.841 GB, free: 67.97 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultCV/TestWaterPumpDefaultCV.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches