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.002536/0.002536, allocations: 182.1 kB / 13.66 MB, free: 1.664 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.988/1.988, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001076/0.001075, allocations: 94.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2708/0.2708, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.08e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8135/0.9271, allocations: 219.2 MB / 0.6869 GB, free: 1.852 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004739/0.9276, allocations: 86.81 kB / 0.687 GB, free: 1.805 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846/3.774, allocations: 0.5134 GB / 1.2 GB, free: 77.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.144e-06/3.774, allocations: 0 / 1.2 GB, free: 77.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001282/3.774, allocations: 33.41 kB / 1.2 GB, free: 77.11 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.006951/3.781, allocations: 1.93 MB / 1.202 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/3.781, allocations: 16.02 kB / 1.202 GB, free: 75.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004977/3.786, allocations: 356 kB / 1.203 GB, free: 74.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/3.789, allocations: 0.8667 MB / 1.203 GB, free: 74.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-05/3.789, allocations: 61.95 kB / 1.203 GB, free: 74.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/3.789, allocations: 83.06 kB / 1.204 GB, free: 74.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003933/3.793, allocations: 1.141 MB / 1.205 GB, free: 73.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/3.793, allocations: 6.625 kB / 1.205 GB, free: 73.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/3.794, allocations: 40 kB / 1.205 GB, free: 72.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/3.794, allocations: 20 kB / 1.205 GB, free: 72.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003349/3.797, allocations: 0.8315 MB / 1.206 GB, free: 72.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009108/3.806, allocations: 5.419 MB / 1.211 GB, free: 66.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/3.809, allocations: 0.5294 MB / 1.211 GB, free: 65.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007628/3.809, allocations: 290.5 kB / 1.212 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007688/3.81, allocations: 0.9515 MB / 1.213 GB, free: 64.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/3.81, allocations: 43.12 kB / 1.213 GB, free: 64.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001193/3.811, allocations: 137.1 kB / 1.213 GB, free: 64.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 3.968e-06/3.811, allocations: 0 / 1.213 GB, free: 64.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65): time 0.005176/3.817, allocations: 0.9147 MB / 1.214 GB, free: 63.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/3.817, allocations: 195.2 kB / 1.214 GB, free: 63.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/3.818, allocations: 0.8244 MB / 1.215 GB, free: 62.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002742/3.819, allocations: 44.33 kB / 1.215 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/3.819, allocations: 496.7 kB / 1.215 GB, free: 61.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/3.819, allocations: 229.7 kB / 1.215 GB, free: 61.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.618e-05/3.819, allocations: 12 kB / 1.215 GB, free: 61.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.702e-05/3.82, allocations: 344.5 kB / 1.216 GB, free: 61.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007824/3.82, allocations: 273.9 kB / 1.216 GB, free: 60.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008863/3.821, allocations: 484 kB / 1.216 GB, free: 60.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009061/3.822, allocations: 332.9 kB / 1.217 GB, free: 59.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/3.822, allocations: 0 / 1.217 GB, free: 59.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002712/3.825, allocations: 0.9369 MB / 1.218 GB, free: 59.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003673/3.825, allocations: 1.834 MB / 1.219 GB, free: 57.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/3.825, allocations: 4 kB / 1.219 GB, free: 57.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01/3.835, allocations: 0.7831 MB / 1.22 GB, free: 56.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/3.837, allocations: 265.8 kB / 1.22 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/3.839, allocations: 0.7769 MB / 1.221 GB, free: 55.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/3.841, allocations: 95 kB / 1.221 GB, free: 55.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002416/3.841, allocations: 67.97 kB / 1.221 GB, free: 55.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/3.841, allocations: 7.281 kB / 1.221 GB, free: 55.09 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002638/3.844, allocations: 0.8328 MB / 1.222 GB, free: 54.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/3.844, allocations: 4 kB / 1.222 GB, free: 54.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003901/3.844, allocations: 76.8 kB / 1.222 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/3.846, allocations: 272.9 kB / 1.223 GB, free: 53.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/3.848, allocations: 1.633 MB / 1.224 GB, free: 52.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/3.85, allocations: 86.84 kB / 1.224 GB, free: 52.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/3.85, allocations: 55.97 kB / 1.224 GB, free: 52.03 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.0003771/3.85, allocations: 152.8 kB / 1.224 GB, free: 51.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003925/3.851, allocations: 114.6 kB / 1.225 GB, free: 51.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006193/3.857, allocations: 2.265 MB / 1.227 GB, free: 49.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/3.857, allocations: 8 kB / 1.227 GB, free: 49.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/3.857, allocations: 4 kB / 1.227 GB, free: 49.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/3.857, allocations: 3.984 kB / 1.227 GB, free: 49.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00446/3.861, allocations: 1.844 MB / 1.229 GB, free: 47.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/3.861, allocations: 4 kB / 1.229 GB, free: 47.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009496/3.862, allocations: 151.6 kB / 1.229 GB, free: 47.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005223/3.868, allocations: 0.5997 MB / 1.229 GB, free: 46.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/3.868, allocations: 27.98 kB / 1.229 GB, free: 46.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/3.869, allocations: 0.8089 MB / 1.23 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/3.869, allocations: 7.938 kB / 1.23 GB, free: 45.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/3.872, allocations: 1.158 MB / 1.231 GB, free: 44.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/3.873, allocations: 343.3 kB / 1.232 GB, free: 44.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003387/3.873, allocations: 16 kB / 1.232 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/3.875, allocations: 87.67 kB / 1.232 GB, free: 44.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/3.875, allocations: 64.38 kB / 1.232 GB, free: 44.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/3.875, allocations: 51.97 kB / 1.232 GB, free: 44.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001362/3.877, allocations: 0.7034 MB / 1.232 GB, free: 43.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.22e-07/3.877, allocations: 0 / 1.232 GB, free: 43.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004689/3.881, allocations: 1.025 MB / 1.233 GB, free: 42.4 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.003315/3.885, allocations: 0.846 MB / 1.234 GB, free: 41.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003717/3.888, allocations: 1.253 MB / 1.236 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/3.889, allocations: 4 kB / 1.236 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/3.89, allocations: 349.6 kB / 1.236 GB, free: 40 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004708/3.894, allocations: 0.5205 MB / 1.236 GB, free: 39.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/3.898, allocations: 1.412 MB / 1.238 GB, free: 38.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/3.899, allocations: 1.095 MB / 1.239 GB, free: 36.89 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008315/3.9, allocations: 151.1 kB / 1.239 GB, free: 36.75 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/3.9, allocations: 0 / 1.239 GB, free: 36.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.05677/3.957, allocations: 28.77 MB / 1.267 GB, free: 8.27 MB / 0.4948 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