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.001225/0.001225, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.757/1.757, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009148/0.0009149, allocations: 86.81 kB / 270.2 MB, free: 13.36 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.2383/0.2383, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003204, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1377, allocations: 58.84 MB / 490.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5804/0.7182, allocations: 219.3 MB / 0.6929 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004126/0.7187, allocations: 85.77 kB / 0.693 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.169/2.888, allocations: 0.5145 GB / 1.208 GB, free: 72.24 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.324e-06/2.888, allocations: 0 / 1.208 GB, free: 72.24 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.729e-05/2.888, allocations: 35.05 kB / 1.208 GB, free: 72.21 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.006073/2.894, allocations: 2.088 MB / 1.21 GB, free: 70.13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/2.894, allocations: 8.031 kB / 1.21 GB, free: 70.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003496/2.897, allocations: 364.2 kB / 1.21 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/2.899, allocations: 0.8675 MB / 1.211 GB, free: 68.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/2.899, allocations: 62 kB / 1.211 GB, free: 68.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/2.9, allocations: 87.94 kB / 1.211 GB, free: 68.74 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/2.902, allocations: 1.231 MB / 1.212 GB, free: 67.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/2.902, allocations: 3.938 kB / 1.212 GB, free: 67.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/2.902, allocations: 43.7 kB / 1.212 GB, free: 67.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/2.902, allocations: 20 kB / 1.212 GB, free: 67.37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/2.905, allocations: 1.004 MB / 1.213 GB, free: 66.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006706/2.912, allocations: 5.427 MB / 1.218 GB, free: 60.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/2.914, allocations: 0.6773 MB / 1.219 GB, free: 59.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007632/2.915, allocations: 0.9514 MB / 1.22 GB, free: 58.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/2.915, allocations: 47.06 kB / 1.22 GB, free: 58.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001205/2.916, allocations: 128.9 kB / 1.22 GB, free: 58.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 1.031e-05/2.916, allocations: 6.469 kB / 1.22 GB, free: 58.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65): time 0.006868/2.923, allocations: 1.731 MB / 1.222 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/2.923, allocations: 192.4 kB / 1.222 GB, free: 56.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/2.924, allocations: 0.8389 MB / 1.223 GB, free: 55.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001391/2.924, allocations: 45.7 kB / 1.223 GB, free: 55.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/2.925, allocations: 0.4985 MB / 1.223 GB, free: 55.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/2.925, allocations: 223 kB / 1.224 GB, free: 54.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/2.925, allocations: 16 kB / 1.224 GB, free: 54.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000106/2.925, allocations: 341.9 kB / 1.224 GB, free: 54.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006906/2.926, allocations: 357.8 kB / 1.224 GB, free: 54.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007453/2.926, allocations: 0.5575 MB / 1.225 GB, free: 53.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007364/2.927, allocations: 426.8 kB / 1.225 GB, free: 53.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/2.927, allocations: 0 / 1.225 GB, free: 53.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002321/2.929, allocations: 1.18 MB / 1.226 GB, free: 52.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004582/2.93, allocations: 1.835 MB / 1.228 GB, free: 50.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/2.93, allocations: 8 kB / 1.228 GB, free: 50.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005882/2.936, allocations: 0.8153 MB / 1.229 GB, free: 49.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/2.937, allocations: 247.7 kB / 1.229 GB, free: 49.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008808/2.938, allocations: 0.7961 MB / 1.23 GB, free: 48.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/2.939, allocations: 83.97 kB / 1.23 GB, free: 48.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/2.939, allocations: 71.95 kB / 1.23 GB, free: 48.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/2.939, allocations: 8 kB / 1.23 GB, free: 48.03 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002003/2.941, allocations: 1.004 MB / 1.231 GB, free: 47.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/2.941, allocations: 4 kB / 1.231 GB, free: 47.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/2.942, allocations: 77.27 kB / 1.231 GB, free: 46.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008253/2.943, allocations: 267.6 kB / 1.232 GB, free: 46.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/2.944, allocations: 1.679 MB / 1.233 GB, free: 44.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/2.945, allocations: 83.94 kB / 1.233 GB, free: 44.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/2.945, allocations: 59.97 kB / 1.233 GB, free: 44.73 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.0006267/2.946, allocations: 316.9 kB / 1.234 GB, free: 44.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/2.946, allocations: 118.6 kB / 1.234 GB, free: 44.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/2.95, allocations: 2.434 MB / 1.236 GB, free: 41.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/2.95, allocations: 8 kB / 1.236 GB, free: 41.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/2.95, allocations: 0 / 1.236 GB, free: 41.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/2.95, allocations: 7.922 kB / 1.236 GB, free: 41.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/2.953, allocations: 2.014 MB / 1.238 GB, free: 39.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/2.953, allocations: 0 / 1.238 GB, free: 39.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/2.953, allocations: 156.1 kB / 1.238 GB, free: 39.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002853/2.956, allocations: 0.6115 MB / 1.239 GB, free: 38.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.537e-05/2.956, allocations: 31.98 kB / 1.239 GB, free: 38.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006744/2.957, allocations: 0.8176 MB / 1.24 GB, free: 38.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/2.957, allocations: 8 kB / 1.24 GB, free: 38.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/2.959, allocations: 1.319 MB / 1.241 GB, free: 36.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006585/2.96, allocations: 355.1 kB / 1.241 GB, free: 36.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/2.96, allocations: 16 kB / 1.241 GB, free: 36.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007614/2.961, allocations: 87.8 kB / 1.241 GB, free: 36.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/2.961, allocations: 60.41 kB / 1.241 GB, free: 36.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.593e-05/2.961, allocations: 47.97 kB / 1.241 GB, free: 36.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009218/2.962, allocations: 0.7136 MB / 1.242 GB, free: 35.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/2.962, allocations: 4 kB / 1.242 GB, free: 35.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003582/2.965, allocations: 1.038 MB / 1.243 GB, free: 34.31 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.002293/2.968, allocations: 0.8372 MB / 1.244 GB, free: 33.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003039/2.971, allocations: 1.508 MB / 1.246 GB, free: 32.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/2.971, allocations: 4 kB / 1.246 GB, free: 32.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008008/2.972, allocations: 441.4 kB / 1.246 GB, free: 31.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/2.975, allocations: 0.5123 MB / 1.246 GB, free: 31.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/2.978, allocations: 2.254 MB / 1.249 GB, free: 28.76 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/2.978, allocations: 1.095 MB / 1.25 GB, free: 27.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002087/2.98, allocations: 0.8046 MB / 1.25 GB, free: 26.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/2.98, allocations: 134.8 kB / 1.251 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of SimCode: time 1.443e-06/2.98, allocations: 4 kB / 1.251 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.04384/3.024, allocations: 28.85 MB / 1.279 GB, free: 14.12 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