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.001041/0.001041, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.3 MB / 213.7 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008647/0.0008648, allocations: 94.62 kB / 261.8 MB, free: 1.609 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.1834/0.1834, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.648e-05/1.651e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.09842, allocations: 58.85 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4373/0.5357, allocations: 218.5 MB / 0.6794 GB, free: 10.39 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.536, allocations: 86.7 kB / 0.6794 GB, free: 10.35 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744/2.28, allocations: 0.5086 GB / 1.188 GB, free: 78.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.745e-06/2.28, allocations: 0 / 1.188 GB, free: 78.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000169/2.28, allocations: 34.25 kB / 1.188 GB, free: 78.25 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.006139/2.286, allocations: 1.939 MB / 1.19 GB, free: 77.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/2.286, allocations: 9.844 kB / 1.19 GB, free: 77.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003655/2.29, allocations: 358.6 kB / 1.19 GB, free: 77.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002912/2.293, allocations: 0.8657 MB / 1.191 GB, free: 76.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.445e-05/2.293, allocations: 29.06 kB / 1.191 GB, free: 76.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004013/2.293, allocations: 45.47 kB / 1.191 GB, free: 76.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001962/2.295, allocations: 0.7246 MB / 1.192 GB, free: 76.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/2.297, allocations: 0.9423 MB / 1.193 GB, free: 76.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/2.297, allocations: 6.469 kB / 1.193 GB, free: 76.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/2.297, allocations: 3.062 kB / 1.193 GB, free: 76.69 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/2.297, allocations: 24.92 kB / 1.193 GB, free: 76.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005927/2.303, allocations: 5.208 MB / 1.198 GB, free: 73.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/2.304, allocations: 476.5 kB / 1.198 GB, free: 73.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/2.304, allocations: 275.7 kB / 1.199 GB, free: 73.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006244/2.305, allocations: 0.9532 MB / 1.2 GB, free: 72.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/2.305, allocations: 44.91 kB / 1.2 GB, free: 72.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007185/2.306, allocations: 97.7 kB / 1.2 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 4.108e-06/2.306, allocations: 0 / 1.2 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65): time 0.006229/2.312, allocations: 1.318 MB / 1.201 GB, free: 71.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/2.312, allocations: 191.3 kB / 1.201 GB, free: 71.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008995/2.313, allocations: 0.6036 MB / 1.202 GB, free: 71.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001248/2.313, allocations: 35.91 kB / 1.202 GB, free: 71.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/2.313, allocations: 0.5205 MB / 1.202 GB, free: 71.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/2.314, allocations: 214.4 kB / 1.203 GB, free: 71.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/2.314, allocations: 1.125 kB / 1.203 GB, free: 71.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.963e-05/2.314, allocations: 348.9 kB / 1.203 GB, free: 70.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/2.314, allocations: 261.6 kB / 1.203 GB, free: 70.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/2.315, allocations: 466.5 kB / 1.204 GB, free: 70.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006732/2.321, allocations: 1.519 MB / 1.205 GB, free: 70.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/2.321, allocations: 6.594 kB / 1.205 GB, free: 70.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00805/2.33, allocations: 2.134 MB / 1.207 GB, free: 70.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004705/2.33, allocations: 1.841 MB / 1.209 GB, free: 68.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/2.33, allocations: 6.922 kB / 1.209 GB, free: 68.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/2.332, allocations: 412.7 kB / 1.209 GB, free: 68.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009028/2.333, allocations: 258.9 kB / 1.21 GB, free: 68.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/2.335, allocations: 0.9583 MB / 1.211 GB, free: 67.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/2.337, allocations: 82.45 kB / 1.211 GB, free: 67.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/2.337, allocations: 67.84 kB / 1.211 GB, free: 67.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/2.337, allocations: 6.922 kB / 1.211 GB, free: 67.95 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006144/2.343, allocations: 1.757 MB / 1.212 GB, free: 67.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.954e-05/2.343, allocations: 3.906 kB / 1.212 GB, free: 67.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/2.343, allocations: 72.27 kB / 1.213 GB, free: 67.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009109/2.344, allocations: 270.3 kB / 1.213 GB, free: 67.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/2.346, allocations: 1.585 MB / 1.214 GB, free: 66.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/2.347, allocations: 71.98 kB / 1.214 GB, free: 66.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/2.347, allocations: 57.45 kB / 1.214 GB, free: 66.59 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.0003668/2.347, allocations: 128.8 kB / 1.215 GB, free: 66.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003773/2.348, allocations: 104.7 kB / 1.215 GB, free: 66.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005477/2.353, allocations: 2.538 MB / 1.217 GB, free: 65.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/2.353, allocations: 6.625 kB / 1.217 GB, free: 65.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/2.353, allocations: 0 / 1.217 GB, free: 65.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/2.353, allocations: 3.797 kB / 1.217 GB, free: 65.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004414/2.358, allocations: 2.01 MB / 1.219 GB, free: 64.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/2.358, allocations: 4 kB / 1.219 GB, free: 64.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/2.358, allocations: 155.6 kB / 1.219 GB, free: 64.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/2.359, allocations: 293.7 kB / 1.22 GB, free: 64.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/2.359, allocations: 21.77 kB / 1.22 GB, free: 64.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/2.361, allocations: 0.9362 MB / 1.22 GB, free: 63.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/2.361, allocations: 4 kB / 1.22 GB, free: 63.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003315/2.364, allocations: 1.413 MB / 1.222 GB, free: 62.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000732/2.365, allocations: 336.5 kB / 1.222 GB, free: 61.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003074/2.365, allocations: 7.797 kB / 1.222 GB, free: 61.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009125/2.366, allocations: 71.83 kB / 1.222 GB, free: 61.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/2.366, allocations: 65.22 kB / 1.222 GB, free: 61.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-05/2.366, allocations: 46.09 kB / 1.222 GB, free: 61.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007497/2.367, allocations: 0.5198 MB / 1.223 GB, free: 61.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/2.367, allocations: 0 / 1.223 GB, free: 61.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003934/2.371, allocations: 1.027 MB / 1.224 GB, free: 60.19 MB / 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.003122/2.374, allocations: 0.821 MB / 1.225 GB, free: 59.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002755/2.377, allocations: 1.21 MB / 1.226 GB, free: 58.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/2.377, allocations: 0.6875 kB / 1.226 GB, free: 58.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000568/2.377, allocations: 329.7 kB / 1.226 GB, free: 58.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/2.38, allocations: 418.4 kB / 1.227 GB, free: 57.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/2.383, allocations: 1.319 MB / 1.228 GB, free: 56.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/2.384, allocations: 1.11 MB / 1.229 GB, free: 55.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00245/2.386, allocations: 0.8121 MB / 1.23 GB, free: 54.95 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/2.386, allocations: 107.3 kB / 1.23 GB, free: 54.85 MB / 0.4948 GB Notification: Performance of SimCode: time 1.974e-06/2.386, allocations: 0 / 1.23 GB, free: 54.85 MB / 0.4948 GB Notification: Performance of Templates: time 0.03794/2.424, allocations: 26.73 MB / 1.256 GB, free: 28.69 MB / 0.4948 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