Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.463/1.463, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0008266/0.0008267, allocations: 85.42 kB / 271.9 MB, free: 8.266 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.346/0.346, allocations: 43.56 MB / 363.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003798, allocations: 16 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1258, allocations: 58.85 MB / 491.5 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.868/5.994, allocations: 2.772 GB / 3.252 GB, free: 99.54 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/5.994, allocations: 87.39 kB / 3.252 GB, free: 99.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.617/7.611, allocations: 0.4996 GB / 3.752 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.873e-06/7.611, allocations: 0 / 3.752 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.681e-05/7.611, allocations: 31.23 kB / 3.752 GB, free: 42.54 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.007041/7.618, allocations: 2.156 MB / 3.754 GB, free: 41.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/7.618, allocations: 12.06 kB / 3.754 GB, free: 41.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005621/7.624, allocations: 0.7165 MB / 3.755 GB, free: 41.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/7.626, allocations: 0.8379 MB / 3.756 GB, free: 41.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/7.626, allocations: 76.19 kB / 3.756 GB, free: 41.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/7.626, allocations: 88.06 kB / 3.756 GB, free: 41.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003971/7.63, allocations: 1.755 MB / 3.758 GB, free: 40.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/7.63, allocations: 5.109 kB / 3.758 GB, free: 40.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/7.63, allocations: 49.66 kB / 3.758 GB, free: 40.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/7.63, allocations: 21.91 kB / 3.758 GB, free: 40.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004124/7.634, allocations: 1.654 MB / 3.759 GB, free: 40.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007851/7.642, allocations: 7.558 MB / 3.767 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/7.646, allocations: 1.309 MB / 3.768 GB, free: 35.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009676/7.647, allocations: 475.5 kB / 3.768 GB, free: 35.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0379/7.685, allocations: 24.17 MB / 3.792 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/7.685, allocations: 42.09 kB / 3.792 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=67): time 3.407e-06/7.685, allocations: 0 / 3.792 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.006918/7.692, allocations: 2.23 MB / 3.794 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008031/7.693, allocations: 218.3 kB / 3.794 GB, free: 36.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/7.694, allocations: 0.8309 MB / 3.795 GB, free: 36.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.161e-05/7.694, allocations: 43.45 kB / 3.795 GB, free: 36.51 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/7.694, allocations: 474.5 kB / 3.796 GB, free: 36.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/7.694, allocations: 230 kB / 3.796 GB, free: 36.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/7.694, allocations: 17.78 kB / 3.796 GB, free: 36.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001576/7.695, allocations: 342 kB / 3.796 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/7.696, allocations: 391.2 kB / 3.797 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/7.697, allocations: 0.6899 MB / 3.797 GB, free: 35.51 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/7.699, allocations: 1.044 MB / 3.798 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/7.699, allocations: 2.875 kB / 3.798 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002847/7.702, allocations: 1.193 MB / 3.8 GB, free: 35.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000166/7.702, allocations: 332.9 kB / 3.8 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/7.702, allocations: 8.156 kB / 3.8 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/7.702, allocations: 12.91 kB / 3.8 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009601/7.703, allocations: 275.4 kB / 3.8 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/7.703, allocations: 15.83 kB / 3.8 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/7.704, allocations: 191.5 kB / 3.8 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-05/7.704, allocations: 49.88 kB / 3.8 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/7.704, allocations: 4.219 kB / 3.8 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002497/7.707, allocations: 1.06 MB / 3.801 GB, free: 34.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/7.707, allocations: 12.81 kB / 3.801 GB, free: 34.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/7.707, allocations: 18.12 kB / 3.801 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008898/7.708, allocations: 267.3 kB / 3.802 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/7.708, allocations: 24.38 kB / 3.802 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/7.709, allocations: 169 kB / 3.802 GB, free: 34.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.759e-05/7.709, allocations: 51.75 kB / 3.802 GB, free: 34.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006417/7.71, allocations: 341.9 kB / 3.802 GB, free: 34.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/7.71, allocations: 108.5 kB / 3.802 GB, free: 34.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006189/7.716, allocations: 5.124 MB / 3.807 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.986e-05/7.716, allocations: 65.7 kB / 3.807 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/7.716, allocations: 0 / 3.807 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/7.716, allocations: 12.16 kB / 3.807 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/7.719, allocations: 2.497 MB / 3.81 GB, free: 33.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/7.719, allocations: 0 / 3.81 GB, free: 33.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007726/7.72, allocations: 241.4 kB / 3.81 GB, free: 33.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/7.72, allocations: 11.47 kB / 3.81 GB, free: 33.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/7.72, allocations: 23.73 kB / 3.81 GB, free: 33.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/7.72, allocations: 3.812 kB / 3.81 GB, free: 33.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/7.72, allocations: 0 / 3.81 GB, free: 33.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003176/7.723, allocations: 2.379 MB / 3.812 GB, free: 32.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008241/7.724, allocations: 0.7022 MB / 3.813 GB, free: 32.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/7.724, allocations: 18.88 kB / 3.813 GB, free: 32.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008104/7.725, allocations: 111.6 kB / 3.813 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/7.725, allocations: 82.47 kB / 3.813 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/7.725, allocations: 34.98 kB / 3.813 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001369/7.727, allocations: 1.185 MB / 3.815 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/7.727, allocations: 0 / 3.815 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005935/7.733, allocations: 1.624 MB / 3.816 GB, free: 32.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.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): 73 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007381/7.74, allocations: 1.775 MB / 3.818 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004065/7.744, allocations: 2.048 MB / 3.82 GB, free: 31.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/7.744, allocations: 0 / 3.82 GB, free: 31.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/7.745, allocations: 1.16 MB / 3.821 GB, free: 31.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003115/7.749, allocations: 0.6118 MB / 3.822 GB, free: 31.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00494/7.754, allocations: 4.982 MB / 3.826 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008587/7.754, allocations: 1.522 MB / 3.828 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/7.755, allocations: 110.9 kB / 3.828 GB, free: 28.73 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/7.755, allocations: 0 / 3.828 GB, free: 28.73 MB / 0.5261 GB Notification: Performance of Templates: time 0.05412/7.809, allocations: 40.74 MB / 3.868 GB, free: 25.66 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveIncompressible/TestValveIncompressible.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches