Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002238/0.002238, allocations: 188.3 kB / 16.41 MB, free: 5.723 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.878/1.878, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001125/0.001125, allocations: 89.53 kB / 270.9 MB, free: 8.371 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.5634/0.5634, allocations: 43.55 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004701, allocations: 15.98 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1247, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9882/1.113, allocations: 219.3 MB / 0.6929 GB, free: 114.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/1.113, allocations: 92.14 kB / 0.693 GB, free: 114.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.472/3.585, allocations: 0.5145 GB / 1.207 GB, free: 30.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.245e-06/3.585, allocations: 0 / 1.207 GB, free: 30.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001031/3.586, allocations: 30.73 kB / 1.208 GB, free: 30.72 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00703/3.593, allocations: 2.093 MB / 1.21 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/3.593, allocations: 8.031 kB / 1.21 GB, free: 28.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004838/3.598, allocations: 363.8 kB / 1.21 GB, free: 28.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/3.6, allocations: 0.8656 MB / 1.211 GB, free: 27.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/3.6, allocations: 65.95 kB / 1.211 GB, free: 27.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/3.6, allocations: 83.94 kB / 1.211 GB, free: 27.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004151/3.605, allocations: 1.235 MB / 1.212 GB, free: 25.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/3.605, allocations: 3.938 kB / 1.212 GB, free: 25.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/3.605, allocations: 40 kB / 1.212 GB, free: 25.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/3.605, allocations: 20 kB / 1.212 GB, free: 25.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004344/3.609, allocations: 1.007 MB / 1.213 GB, free: 24.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008895/3.618, allocations: 5.417 MB / 1.218 GB, free: 19.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/3.621, allocations: 0.6808 MB / 1.219 GB, free: 18.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007387/3.622, allocations: 0.9522 MB / 1.22 GB, free: 17.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/3.622, allocations: 47.06 kB / 1.22 GB, free: 17.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001138/3.623, allocations: 134 kB / 1.22 GB, free: 16.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 3.586e-06/3.623, allocations: 0 / 1.22 GB, free: 16.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65): time 0.01073/3.634, allocations: 1.729 MB / 1.222 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/3.634, allocations: 192.4 kB / 1.222 GB, free: 15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/3.636, allocations: 0.8389 MB / 1.223 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000246/3.636, allocations: 37.7 kB / 1.223 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/3.636, allocations: 0.4893 MB / 1.223 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/3.637, allocations: 228.6 kB / 1.224 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/3.637, allocations: 20 kB / 1.224 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/3.637, allocations: 342.8 kB / 1.224 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/3.638, allocations: 357.8 kB / 1.224 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/3.64, allocations: 0.5515 MB / 1.225 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/3.641, allocations: 422.9 kB / 1.225 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/3.641, allocations: 8 kB / 1.225 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003728/3.645, allocations: 1.11 MB / 1.226 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003592/3.645, allocations: 1.828 MB / 1.228 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/3.645, allocations: 8 kB / 1.228 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/3.655, allocations: 0.8199 MB / 1.229 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/3.657, allocations: 251.6 kB / 1.229 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/3.658, allocations: 0.7825 MB / 1.23 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/3.66, allocations: 87.92 kB / 1.23 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/3.66, allocations: 71.95 kB / 1.23 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/3.66, allocations: 6.812 kB / 1.23 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003557/3.664, allocations: 1.011 MB / 1.231 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/3.664, allocations: 4 kB / 1.231 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003847/3.664, allocations: 72.81 kB / 1.231 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/3.666, allocations: 272.1 kB / 1.231 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/3.668, allocations: 1.644 MB / 1.233 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/3.669, allocations: 91.91 kB / 1.233 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/3.67, allocations: 59.95 kB / 1.233 GB, free: 3.219 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007538/3.67, allocations: 327.7 kB / 1.233 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/3.671, allocations: 118.6 kB / 1.234 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006742/3.677, allocations: 2.427 MB / 1.236 GB, free: 284 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/3.677, allocations: 8 kB / 1.236 GB, free: 276 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/3.677, allocations: 0 / 1.236 GB, free: 276 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/3.678, allocations: 7.922 kB / 1.236 GB, free: 268 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005611/3.683, allocations: 2.017 MB / 1.238 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/3.683, allocations: 4 kB / 1.238 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009469/3.684, allocations: 148.2 kB / 1.238 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005347/3.689, allocations: 0.6151 MB / 1.239 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/3.69, allocations: 23.98 kB / 1.239 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/3.691, allocations: 0.8215 MB / 1.24 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/3.691, allocations: 8.031 kB / 1.24 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004102/3.695, allocations: 1.319 MB / 1.241 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009291/3.696, allocations: 351.1 kB / 1.241 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/3.696, allocations: 19.98 kB / 1.241 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/3.698, allocations: 79.94 kB / 1.241 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/3.698, allocations: 68.38 kB / 1.241 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/3.698, allocations: 47.97 kB / 1.241 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001577/3.7, allocations: 0.7175 MB / 1.242 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/3.7, allocations: 0 / 1.242 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004769/3.705, allocations: 1.035 MB / 1.243 GB, free: 8.762 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00321/3.708, allocations: 0.8394 MB / 1.244 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005806/3.714, allocations: 1.508 MB / 1.245 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/3.714, allocations: 0 / 1.245 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/3.715, allocations: 442.8 kB / 1.246 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004676/3.72, allocations: 0.5187 MB / 1.246 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005632/3.726, allocations: 2.281 MB / 1.249 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008147/3.727, allocations: 1.099 MB / 1.25 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008972/3.728, allocations: 151.3 kB / 1.25 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/3.728, allocations: 0 / 1.25 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of Templates: time 0.4279/4.156, allocations: 28.82 MB / 1.278 GB, free: 68.49 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValvesIncompressibleReverse/TestValvesIncompressibleReverse.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches