Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 179 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.3 MB / 242.1 MB, free: 11.61 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008035/0.0008036, allocations: 98.88 kB / 293.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3383/0.3383, allocations: 44.14 MB / 388.5 MB, free: 38.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.000432, allocations: 16 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3202, allocations: 61.87 MB / 0.5107 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4402/0.7605, allocations: 216.1 MB / 0.7217 GB, free: 127.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.7608, allocations: 86.83 kB / 0.7218 GB, free: 127.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.298/2.059, allocations: 427.8 MB / 1.14 GB, free: 75.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.464e-06/2.059, allocations: 0 / 1.14 GB, free: 75.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001337/2.059, allocations: 35.5 kB / 1.14 GB, free: 75.09 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004462/2.063, allocations: 1.66 MB / 1.141 GB, free: 74.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/2.063, allocations: 6.844 kB / 1.141 GB, free: 74.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/2.067, allocations: 366.8 kB / 1.142 GB, free: 74.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/2.069, allocations: 0.8824 MB / 1.142 GB, free: 73.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.738e-05/2.07, allocations: 69.53 kB / 1.143 GB, free: 73.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/2.07, allocations: 82.16 kB / 1.143 GB, free: 73.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003205/2.073, allocations: 1.247 MB / 1.144 GB, free: 73.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/2.073, allocations: 3.812 kB / 1.144 GB, free: 73.67 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/2.073, allocations: 44.03 kB / 1.144 GB, free: 73.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/2.073, allocations: 22.44 kB / 1.144 GB, free: 73.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/2.076, allocations: 1.006 MB / 1.145 GB, free: 73.64 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00523/2.081, allocations: 5.396 MB / 1.15 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/2.083, allocations: 0.6823 MB / 1.151 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005739/2.083, allocations: 362.8 kB / 1.151 GB, free: 70.01 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005374/2.084, allocations: 1.393 MB / 1.153 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/2.084, allocations: 43.19 kB / 1.153 GB, free: 68.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006583/2.085, allocations: 125.9 kB / 1.153 GB, free: 68.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=65): time 2.865e-06/2.085, allocations: 3.812 kB / 1.153 GB, free: 68.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65): time 0.005812/2.091, allocations: 1.804 MB / 1.154 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/2.091, allocations: 187.6 kB / 1.155 GB, free: 67.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/2.092, allocations: 0.964 MB / 1.156 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-05/2.092, allocations: 43.11 kB / 1.156 GB, free: 67.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/2.092, allocations: 0.4945 MB / 1.156 GB, free: 67.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/2.092, allocations: 232.5 kB / 1.156 GB, free: 67.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/2.092, allocations: 17.28 kB / 1.156 GB, free: 67.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.228e-05/2.092, allocations: 334.5 kB / 1.157 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006677/2.093, allocations: 367 kB / 1.157 GB, free: 67.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007417/2.094, allocations: 0.5569 MB / 1.158 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/2.095, allocations: 0.8914 MB / 1.158 GB, free: 66.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/2.095, allocations: 7.125 kB / 1.158 GB, free: 66.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002147/2.097, allocations: 1.179 MB / 1.16 GB, free: 66.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/2.098, allocations: 230 kB / 1.16 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/2.098, allocations: 3.594 kB / 1.16 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005062/2.103, allocations: 0.7719 MB / 1.161 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009253/2.104, allocations: 263.2 kB / 1.161 GB, free: 66.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007451/2.104, allocations: 0.7843 MB / 1.162 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/2.105, allocations: 89.42 kB / 1.162 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/2.106, allocations: 66.36 kB / 1.162 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/2.106, allocations: 5.781 kB / 1.162 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00197/2.108, allocations: 0.9992 MB / 1.163 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/2.108, allocations: 7.719 kB / 1.163 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002681/2.108, allocations: 88.19 kB / 1.163 GB, free: 65.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007833/2.109, allocations: 264.1 kB / 1.163 GB, free: 65.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/2.11, allocations: 1.658 MB / 1.165 GB, free: 64.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009092/2.111, allocations: 89.59 kB / 1.165 GB, free: 64.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.788e-05/2.111, allocations: 57.14 kB / 1.165 GB, free: 64.26 MB / 0.5105 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.0005705/2.112, allocations: 331.6 kB / 1.165 GB, free: 64.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/2.112, allocations: 120.7 kB / 1.165 GB, free: 64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/2.116, allocations: 2.243 MB / 1.167 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/2.116, allocations: 7.594 kB / 1.167 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/2.116, allocations: 0 / 1.167 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/2.116, allocations: 14.89 kB / 1.167 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/2.118, allocations: 1.988 MB / 1.169 GB, free: 63.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/2.118, allocations: 3.938 kB / 1.169 GB, free: 63.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/2.119, allocations: 146.1 kB / 1.17 GB, free: 63.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002509/2.121, allocations: 0.5944 MB / 1.17 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/2.121, allocations: 28.36 kB / 1.17 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006042/2.122, allocations: 0.8171 MB / 1.171 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/2.122, allocations: 11.73 kB / 1.171 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/2.124, allocations: 1.157 MB / 1.172 GB, free: 62.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/2.125, allocations: 316.8 kB / 1.172 GB, free: 62.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/2.125, allocations: 17.81 kB / 1.172 GB, free: 62.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/2.125, allocations: 80.36 kB / 1.172 GB, free: 62.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/2.125, allocations: 64.45 kB / 1.173 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/2.126, allocations: 52.66 kB / 1.173 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008679/2.126, allocations: 0.7133 MB / 1.173 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/2.126, allocations: 0 / 1.173 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00205/2.128, allocations: 0.7542 MB / 1.174 GB, free: 62.06 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.0009502/2.129, allocations: 465.6 kB / 1.174 GB, free: 61.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002707/2.132, allocations: 1.51 MB / 1.176 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/2.132, allocations: 7.656 kB / 1.176 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007276/2.133, allocations: 440.1 kB / 1.176 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/2.136, allocations: 0.5184 MB / 1.177 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/2.138, allocations: 2.249 MB / 1.179 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/2.139, allocations: 1.079 MB / 1.18 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001867/2.141, allocations: 0.7993 MB / 1.181 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/2.141, allocations: 131.1 kB / 1.181 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.473e-06/2.141, allocations: 0 / 1.181 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.03899/2.18, allocations: 25.34 MB / 1.206 GB, free: 51.59 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValvesIncompressibleReverse/TestValvesIncompressibleReverse.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches