Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009301/0.0009301, allocations: 183 kB / 13.19 MB, free: 2.129 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.145/1.145, allocations: 205.2 MB / 218.9 MB, free: 9.148 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.0008355/0.0008357, allocations: 90.59 kB / 267.1 MB, free: 9.273 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.2923/0.2923, allocations: 43.47 MB / 358.6 MB, free: 52.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.105e-05, allocations: 4 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.09422, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5968/0.691, allocations: 219.2 MB / 0.6869 GB, free: 126.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.6913, allocations: 82.27 kB / 0.687 GB, free: 126.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.36/2.052, allocations: 0.5134 GB / 1.2 GB, free: 35.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.142e-06/2.052, allocations: 0 / 1.2 GB, free: 35.94 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.783e-05/2.052, allocations: 31.83 kB / 1.2 GB, free: 35.91 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.003809/2.056, allocations: 1.936 MB / 1.202 GB, free: 33.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/2.056, allocations: 12.03 kB / 1.202 GB, free: 33.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002809/2.058, allocations: 354.1 kB / 1.203 GB, free: 33.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/2.06, allocations: 0.857 MB / 1.203 GB, free: 32.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/2.06, allocations: 61.83 kB / 1.203 GB, free: 32.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/2.06, allocations: 88 kB / 1.204 GB, free: 32.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/2.062, allocations: 1.13 MB / 1.205 GB, free: 31.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/2.062, allocations: 15.89 kB / 1.205 GB, free: 31.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-05/2.062, allocations: 40 kB / 1.205 GB, free: 31.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/2.062, allocations: 20 kB / 1.205 GB, free: 31.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/2.064, allocations: 0.8315 MB / 1.206 GB, free: 30.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004096/2.068, allocations: 5.432 MB / 1.211 GB, free: 24.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/2.069, allocations: 0.5323 MB / 1.211 GB, free: 24.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/2.069, allocations: 282.5 kB / 1.212 GB, free: 23.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000411/2.07, allocations: 0.9558 MB / 1.213 GB, free: 22.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/2.07, allocations: 47.06 kB / 1.213 GB, free: 22.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004707/2.07, allocations: 127 kB / 1.213 GB, free: 22.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 2.715e-06/2.07, allocations: 0 / 1.213 GB, free: 22.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65): time 0.002583/2.073, allocations: 0.9238 MB / 1.214 GB, free: 21.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/2.073, allocations: 188.5 kB / 1.214 GB, free: 21.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007193/2.074, allocations: 0.8245 MB / 1.215 GB, free: 20.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/2.074, allocations: 37.7 kB / 1.215 GB, free: 20.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/2.074, allocations: 0.5018 MB / 1.215 GB, free: 19.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/2.074, allocations: 224.5 kB / 1.215 GB, free: 19.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/2.074, allocations: 23.94 kB / 1.215 GB, free: 19.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.828e-05/2.074, allocations: 341.9 kB / 1.216 GB, free: 19.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/2.074, allocations: 269.9 kB / 1.216 GB, free: 19.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/2.075, allocations: 469 kB / 1.216 GB, free: 18.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/2.075, allocations: 346.2 kB / 1.217 GB, free: 18.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/2.075, allocations: 4 kB / 1.217 GB, free: 18.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001348/2.077, allocations: 1.007 MB / 1.218 GB, free: 17.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002257/2.077, allocations: 1.835 MB / 1.22 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/2.077, allocations: 11.98 kB / 1.22 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005231/2.082, allocations: 0.7819 MB / 1.22 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/2.083, allocations: 251.6 kB / 1.221 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006241/2.084, allocations: 0.7833 MB / 1.221 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009238/2.084, allocations: 95.78 kB / 1.221 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/2.085, allocations: 67.95 kB / 1.221 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.066e-06/2.085, allocations: 7.281 kB / 1.221 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00126/2.086, allocations: 0.8311 MB / 1.222 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/2.086, allocations: 11.98 kB / 1.222 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/2.086, allocations: 80.75 kB / 1.222 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/2.087, allocations: 263.9 kB / 1.223 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/2.088, allocations: 1.652 MB / 1.224 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000717/2.089, allocations: 87.91 kB / 1.224 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.302e-05/2.089, allocations: 63.95 kB / 1.224 GB, free: 10.09 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 () * 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.0001847/2.089, allocations: 156.7 kB / 1.225 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/2.089, allocations: 118.6 kB / 1.225 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/2.092, allocations: 2.246 MB / 1.227 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/2.092, allocations: 12 kB / 1.227 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/2.092, allocations: 3.953 kB / 1.227 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/2.092, allocations: 3.984 kB / 1.227 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/2.094, allocations: 1.845 MB / 1.229 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/2.094, allocations: 0 / 1.229 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/2.095, allocations: 156.2 kB / 1.229 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002627/2.097, allocations: 0.6015 MB / 1.229 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.012e-05/2.097, allocations: 27.97 kB / 1.229 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005604/2.098, allocations: 0.8175 MB / 1.23 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/2.098, allocations: 4 kB / 1.23 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/2.099, allocations: 1.147 MB / 1.231 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/2.1, allocations: 351.2 kB / 1.232 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/2.1, allocations: 20 kB / 1.232 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007057/2.101, allocations: 75.88 kB / 1.232 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.933e-05/2.101, allocations: 72.42 kB / 1.232 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.499e-05/2.101, allocations: 47.97 kB / 1.232 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006795/2.102, allocations: 0.7033 MB / 1.233 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/2.102, allocations: 0 / 1.233 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002556/2.104, allocations: 1.036 MB / 1.234 GB, free: 372 kB / 0.4948 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 () * 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.001573/2.106, allocations: 0.8493 MB / 1.234 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002098/2.108, allocations: 1.285 MB / 1.236 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/2.108, allocations: 1.438 kB / 1.236 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005687/2.108, allocations: 358.5 kB / 1.236 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/2.111, allocations: 0.5205 MB / 1.237 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/2.113, allocations: 1.395 MB / 1.238 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/2.113, allocations: 1.105 MB / 1.239 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002033/2.115, allocations: 0.8624 MB / 1.24 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/2.116, allocations: 111.4 kB / 1.24 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/2.116, allocations: 0 / 1.24 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of Templates: time 0.2596/2.375, allocations: 30.72 MB / 1.27 GB, free: 71.96 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches