Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 185.3 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.0007823/0.0007823, allocations: 93.48 kB / 271.9 MB, free: 8.238 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.3888/0.3888, allocations: 43.55 MB / 363.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003771, allocations: 19.98 kB / 432.6 MB, free: 5.625 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 58.85 MB / 491.5 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.673/5.812, allocations: 2.783 GB / 3.262 GB, free: 87.43 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/5.812, allocations: 87.2 kB / 3.263 GB, free: 87.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.34/7.152, allocations: 421.3 MB / 3.674 GB, free: 31.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.304e-06/7.152, allocations: 3.938 kB / 3.674 GB, free: 31.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.427e-05/7.152, allocations: 23.72 kB / 3.674 GB, free: 31.67 MB / 0.4948 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.008525/7.161, allocations: 1.853 MB / 3.676 GB, free: 30.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.811e-05/7.161, allocations: 10.25 kB / 3.676 GB, free: 30.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/7.164, allocations: 331 kB / 3.676 GB, free: 30.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/7.166, allocations: 0.5913 MB / 3.677 GB, free: 30.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.501e-05/7.166, allocations: 57.31 kB / 3.677 GB, free: 30.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/7.166, allocations: 51.19 kB / 3.677 GB, free: 30.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/7.169, allocations: 1.032 MB / 3.678 GB, free: 29.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/7.169, allocations: 0 / 3.678 GB, free: 29.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/7.169, allocations: 27.5 kB / 3.678 GB, free: 29.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/7.169, allocations: 23.66 kB / 3.678 GB, free: 29.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002672/7.172, allocations: 0.9292 MB / 3.679 GB, free: 29.35 MB / 0.4948 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.006177/7.178, allocations: 4.856 MB / 3.684 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/7.181, allocations: 0.8296 MB / 3.684 GB, free: 25.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006369/7.182, allocations: 293.6 kB / 3.685 GB, free: 25.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04545/7.227, allocations: 24.07 MB / 3.708 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/7.227, allocations: 42.94 kB / 3.708 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 3.967e-06/7.227, allocations: 4 kB / 3.708 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47): time 0.009119/7.236, allocations: 1.995 MB / 3.71 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/7.236, allocations: 111.2 kB / 3.71 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008772/7.237, allocations: 0.5301 MB / 3.711 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/7.237, allocations: 37.7 kB / 3.711 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/7.238, allocations: 346.7 kB / 3.711 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/7.238, allocations: 158.7 kB / 3.711 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/7.238, allocations: 16 kB / 3.711 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001219/7.238, allocations: 370.8 kB / 3.712 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007785/7.239, allocations: 265.1 kB / 3.712 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008679/7.24, allocations: 445 kB / 3.712 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/7.241, allocations: 0.6836 MB / 3.713 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/7.241, allocations: 4 kB / 3.713 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002112/7.243, allocations: 0.8867 MB / 3.714 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/7.243, allocations: 245.7 kB / 3.714 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/7.243, allocations: 4 kB / 3.714 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002787/7.246, allocations: 0.5157 MB / 3.715 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/7.247, allocations: 147.8 kB / 3.715 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/7.248, allocations: 0.8521 MB / 3.716 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009868/7.249, allocations: 135.2 kB / 3.716 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/7.249, allocations: 39.97 kB / 3.716 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/7.249, allocations: 8 kB / 3.716 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002153/7.251, allocations: 0.8309 MB / 3.717 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/7.251, allocations: 4 kB / 3.717 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/7.253, allocations: 211.1 kB / 3.717 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/7.253, allocations: 163.8 kB / 3.717 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/7.254, allocations: 0.7669 MB / 3.718 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007995/7.255, allocations: 111.4 kB / 3.718 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.33e-05/7.255, allocations: 35.97 kB / 3.718 GB, free: 14.62 MB / 0.5105 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.0005137/7.256, allocations: 288.9 kB / 3.718 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/7.256, allocations: 63.25 kB / 3.718 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004115/7.26, allocations: 3.078 MB / 3.721 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.136e-05/7.26, allocations: 47.92 kB / 3.721 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/7.26, allocations: 0 / 3.721 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/7.26, allocations: 3.984 kB / 3.721 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/7.262, allocations: 1.487 MB / 3.723 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/7.262, allocations: 0 / 3.723 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/7.262, allocations: 95.86 kB / 3.723 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002918/7.265, allocations: 1.239 MB / 3.724 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-05/7.265, allocations: 15.98 kB / 3.724 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/7.267, allocations: 1.501 MB / 3.725 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/7.267, allocations: 0 / 3.725 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002898/7.27, allocations: 2.083 MB / 3.727 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005631/7.27, allocations: 338.6 kB / 3.728 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/7.271, allocations: 12 kB / 3.728 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/7.271, allocations: 95.7 kB / 3.728 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/7.271, allocations: 44.48 kB / 3.728 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/7.271, allocations: 23.98 kB / 3.728 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006194/7.272, allocations: 479 kB / 3.728 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/7.272, allocations: 0 / 3.728 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005905/7.278, allocations: 1.436 MB / 3.73 GB, free: 2.184 MB / 0.5105 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.008587/7.286, allocations: 1.717 MB / 3.732 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2526/7.539, allocations: 1.419 MB / 3.733 GB, free: 59.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/7.539, allocations: 2.469 kB / 3.733 GB, free: 59.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/7.54, allocations: 0.8134 MB / 3.734 GB, free: 59.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/7.542, allocations: 320.1 kB / 3.734 GB, free: 59.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/7.546, allocations: 2.964 MB / 3.737 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/7.547, allocations: 1.14 MB / 3.738 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/7.547, allocations: 63.38 kB / 3.738 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of SimCode: time 5.11e-07/7.547, allocations: 0 / 3.738 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of Templates: time 0.05398/7.601, allocations: 35.72 MB / 3.773 GB, free: 56.12 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultCV/TestWaterPumpDefaultCV.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result:Sink.ports[1].h_outflow,Sink.ports[1].m_flow,Sink.ports[1].p,Source.ports[1].h_outflow,Source.ports[1].m_flow,Source.ports[1].p,Valve.minLimiter.y,Valve.port_b.h_outflow,Valve.port_b.m_flow,Valve.port_b.p,downstreamPressure.y,pump.port_b.h_outflow,pump.port_b.m_flow,pump.port_b.p,time,valveOpening.y