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.001111/0.001111, allocations: 176.2 kB / 16.76 MB, free: 5.027 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.353/1.353, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007492/0.0007492, allocations: 83.88 kB / 271.2 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.309/0.309, allocations: 43.56 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003954, allocations: 12 kB / 432.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1167, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.702/0.8187, allocations: 219.5 MB / 0.6943 GB, free: 139.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.8191, allocations: 86.62 kB / 0.6944 GB, free: 139.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.47/2.29, allocations: 475.3 MB / 1.159 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.204e-06/2.29, allocations: 0 / 1.159 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001487/2.29, allocations: 28.81 kB / 1.159 GB, free: 69.6 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.006718/2.296, allocations: 2.09 MB / 1.161 GB, free: 68.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/2.297, allocations: 9.531 kB / 1.161 GB, free: 68.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003559/2.3, allocations: 366.6 kB / 1.161 GB, free: 68.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/2.302, allocations: 0.8966 MB / 1.162 GB, free: 67.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-05/2.302, allocations: 58.88 kB / 1.162 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002797/2.303, allocations: 86.56 kB / 1.162 GB, free: 67.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003125/2.306, allocations: 1.243 MB / 1.163 GB, free: 66.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/2.306, allocations: 7.719 kB / 1.163 GB, free: 66.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/2.306, allocations: 35.66 kB / 1.163 GB, free: 66.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/2.306, allocations: 18.94 kB / 1.163 GB, free: 66.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/2.309, allocations: 1.019 MB / 1.164 GB, free: 66.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006345/2.315, allocations: 5.425 MB / 1.17 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/2.317, allocations: 0.688 MB / 1.17 GB, free: 60.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006564/2.318, allocations: 364.5 kB / 1.171 GB, free: 60.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005857/2.318, allocations: 0.9531 MB / 1.172 GB, free: 59.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/2.318, allocations: 45.47 kB / 1.172 GB, free: 59.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008006/2.319, allocations: 129.7 kB / 1.172 GB, free: 59.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 5.921e-06/2.319, allocations: 0 / 1.172 GB, free: 59.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65): time 0.006111/2.325, allocations: 1.794 MB / 1.173 GB, free: 57.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/2.325, allocations: 192.5 kB / 1.174 GB, free: 57.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/2.326, allocations: 0.9579 MB / 1.175 GB, free: 56.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/2.327, allocations: 41.7 kB / 1.175 GB, free: 56.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/2.327, allocations: 0.4992 MB / 1.175 GB, free: 56.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/2.327, allocations: 229.6 kB / 1.175 GB, free: 55.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/2.327, allocations: 16 kB / 1.175 GB, free: 55.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.359e-05/2.327, allocations: 337.9 kB / 1.176 GB, free: 55.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007162/2.328, allocations: 369.7 kB / 1.176 GB, free: 55.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008148/2.329, allocations: 0.5515 MB / 1.177 GB, free: 54.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/2.33, allocations: 0.8927 MB / 1.177 GB, free: 53.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/2.33, allocations: 0 / 1.177 GB, free: 53.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002304/2.333, allocations: 1.184 MB / 1.179 GB, free: 52.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/2.333, allocations: 228.9 kB / 1.179 GB, free: 52.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/2.333, allocations: 4 kB / 1.179 GB, free: 52.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005452/2.338, allocations: 0.8149 MB / 1.18 GB, free: 51.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009767/2.339, allocations: 263.5 kB / 1.18 GB, free: 51.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008091/2.34, allocations: 0.7728 MB / 1.181 GB, free: 50.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/2.341, allocations: 99.81 kB / 1.181 GB, free: 50.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/2.342, allocations: 71.95 kB / 1.181 GB, free: 50.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/2.342, allocations: 0 / 1.181 GB, free: 50.09 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002227/2.344, allocations: 1.004 MB / 1.182 GB, free: 49.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/2.344, allocations: 4 kB / 1.182 GB, free: 49.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/2.344, allocations: 81.27 kB / 1.182 GB, free: 49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/2.345, allocations: 271.6 kB / 1.182 GB, free: 48.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/2.347, allocations: 1.656 MB / 1.184 GB, free: 46.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/2.348, allocations: 83.91 kB / 1.184 GB, free: 46.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/2.348, allocations: 63.95 kB / 1.184 GB, free: 46.81 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.0006914/2.348, allocations: 324.8 kB / 1.184 GB, free: 46.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/2.349, allocations: 130 kB / 1.184 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004281/2.353, allocations: 2.397 MB / 1.187 GB, free: 43.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/2.353, allocations: 8 kB / 1.187 GB, free: 43.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/2.353, allocations: 11.92 kB / 1.187 GB, free: 43.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/2.353, allocations: 0 / 1.187 GB, free: 43.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/2.357, allocations: 2.016 MB / 1.189 GB, free: 41.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/2.357, allocations: 4 kB / 1.189 GB, free: 41.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/2.357, allocations: 148.2 kB / 1.189 GB, free: 41.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002821/2.36, allocations: 0.6202 MB / 1.189 GB, free: 41.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.837e-05/2.36, allocations: 31.98 kB / 1.189 GB, free: 41.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006846/2.361, allocations: 0.8253 MB / 1.19 GB, free: 40.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/2.361, allocations: 4 kB / 1.19 GB, free: 40.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/2.363, allocations: 1.164 MB / 1.191 GB, free: 38.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009829/2.364, allocations: 351.1 kB / 1.192 GB, free: 38.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000385/2.364, allocations: 23.98 kB / 1.192 GB, free: 38.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/2.366, allocations: 71.94 kB / 1.192 GB, free: 38.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/2.366, allocations: 68.36 kB / 1.192 GB, free: 38.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/2.366, allocations: 47.97 kB / 1.192 GB, free: 38.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001334/2.367, allocations: 0.7175 MB / 1.193 GB, free: 37.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/2.367, allocations: 4 kB / 1.193 GB, free: 37.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004529/2.372, allocations: 1.033 MB / 1.194 GB, free: 36.62 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 () * 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.003263/2.375, allocations: 0.8472 MB / 1.194 GB, free: 35.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003475/2.379, allocations: 1.512 MB / 1.196 GB, free: 34.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/2.379, allocations: 4 kB / 1.196 GB, free: 34.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008763/2.379, allocations: 446.8 kB / 1.196 GB, free: 33.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003709/2.383, allocations: 0.5227 MB / 1.197 GB, free: 33.35 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/2.387, allocations: 2.244 MB / 1.199 GB, free: 31.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/2.388, allocations: 1.079 MB / 1.2 GB, free: 29.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002345/2.39, allocations: 0.7982 MB / 1.201 GB, free: 29.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004042/2.39, allocations: 134.9 kB / 1.201 GB, free: 29.03 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/2.39, allocations: 3.938 kB / 1.201 GB, free: 29.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.04697/2.437, allocations: 29.44 MB / 1.23 GB, free: 15.84 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/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_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches