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.0009705/0.0009704, allocations: 180.6 kB / 17.41 MB, free: 4.402 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.506/1.506, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007748/0.0007749, allocations: 103.3 kB / 271.9 MB, free: 8.246 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.3431/0.3431, allocations: 43.55 MB / 363.8 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003554, allocations: 16 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1239, allocations: 58.86 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6483/0.7722, allocations: 219.5 MB / 0.6943 GB, free: 139.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.7726, allocations: 87.77 kB / 0.6944 GB, free: 139.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343/2.115, allocations: 475.3 MB / 1.159 GB, free: 69.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.074e-06/2.115, allocations: 4 kB / 1.159 GB, free: 69.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001208/2.115, allocations: 29.05 kB / 1.159 GB, free: 69.68 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.00661/2.122, allocations: 2.08 MB / 1.161 GB, free: 68.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/2.122, allocations: 7.281 kB / 1.161 GB, free: 68.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003711/2.126, allocations: 369.5 kB / 1.161 GB, free: 68.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/2.128, allocations: 0.8965 MB / 1.162 GB, free: 67.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/2.128, allocations: 64.72 kB / 1.162 GB, free: 67.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/2.128, allocations: 82.88 kB / 1.162 GB, free: 67.74 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/2.131, allocations: 1.241 MB / 1.163 GB, free: 66.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/2.131, allocations: 7.656 kB / 1.163 GB, free: 66.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/2.131, allocations: 43.34 kB / 1.163 GB, free: 66.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/2.131, allocations: 19.53 kB / 1.163 GB, free: 66.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/2.133, allocations: 1.004 MB / 1.164 GB, free: 66.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005359/2.139, allocations: 5.432 MB / 1.17 GB, free: 61.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/2.141, allocations: 0.6786 MB / 1.17 GB, free: 61.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006175/2.141, allocations: 374.3 kB / 1.171 GB, free: 60.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005228/2.142, allocations: 0.9475 MB / 1.171 GB, free: 59.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/2.142, allocations: 54.97 kB / 1.172 GB, free: 59.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006668/2.142, allocations: 132.2 kB / 1.172 GB, free: 59.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 3.507e-06/2.142, allocations: 0 / 1.172 GB, free: 59.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65): time 0.006028/2.149, allocations: 1.79 MB / 1.173 GB, free: 58.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/2.149, allocations: 192.4 kB / 1.174 GB, free: 58.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/2.15, allocations: 0.9629 MB / 1.175 GB, free: 57.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.291e-05/2.15, allocations: 37.7 kB / 1.175 GB, free: 57.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/2.15, allocations: 0.4997 MB / 1.175 GB, free: 56.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/2.15, allocations: 228.5 kB / 1.175 GB, free: 56.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/2.15, allocations: 16 kB / 1.175 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/2.15, allocations: 341.9 kB / 1.176 GB, free: 56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000663/2.151, allocations: 357.8 kB / 1.176 GB, free: 55.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007828/2.152, allocations: 0.5593 MB / 1.177 GB, free: 55.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/2.153, allocations: 0.8888 MB / 1.177 GB, free: 54.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/2.153, allocations: 0 / 1.177 GB, free: 54.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002135/2.155, allocations: 1.188 MB / 1.179 GB, free: 52.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.567e-05/2.155, allocations: 228.4 kB / 1.179 GB, free: 52.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/2.155, allocations: 16.7 kB / 1.179 GB, free: 52.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005359/2.161, allocations: 0.8053 MB / 1.18 GB, free: 51.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008859/2.162, allocations: 259.5 kB / 1.18 GB, free: 51.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000763/2.163, allocations: 0.7817 MB / 1.181 GB, free: 50.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/2.164, allocations: 95.72 kB / 1.181 GB, free: 50.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/2.164, allocations: 67.95 kB / 1.181 GB, free: 50.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/2.164, allocations: 4 kB / 1.181 GB, free: 50.54 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0019/2.166, allocations: 1.004 MB / 1.182 GB, free: 49.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/2.166, allocations: 4 kB / 1.182 GB, free: 49.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/2.166, allocations: 76.8 kB / 1.182 GB, free: 49.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008224/2.167, allocations: 271.9 kB / 1.182 GB, free: 49.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/2.168, allocations: 1.665 MB / 1.184 GB, free: 47.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/2.169, allocations: 83.91 kB / 1.184 GB, free: 47.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/2.17, allocations: 59.97 kB / 1.184 GB, free: 47.25 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.0007182/2.17, allocations: 324.8 kB / 1.184 GB, free: 46.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/2.171, allocations: 122.5 kB / 1.184 GB, free: 46.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/2.175, allocations: 2.41 MB / 1.187 GB, free: 44.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/2.175, allocations: 8 kB / 1.187 GB, free: 44.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/2.175, allocations: 3.938 kB / 1.187 GB, free: 44.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/2.175, allocations: 3.984 kB / 1.187 GB, free: 44.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/2.178, allocations: 2.014 MB / 1.189 GB, free: 42.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/2.178, allocations: 4 kB / 1.189 GB, free: 42.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/2.178, allocations: 148.2 kB / 1.189 GB, free: 42.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002737/2.181, allocations: 0.617 MB / 1.189 GB, free: 41.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/2.181, allocations: 31.98 kB / 1.189 GB, free: 41.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006389/2.182, allocations: 0.8292 MB / 1.19 GB, free: 40.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/2.182, allocations: 7.938 kB / 1.19 GB, free: 40.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/2.184, allocations: 1.163 MB / 1.191 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005635/2.184, allocations: 351.2 kB / 1.192 GB, free: 39.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/2.184, allocations: 16 kB / 1.192 GB, free: 39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007095/2.185, allocations: 79.88 kB / 1.192 GB, free: 38.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/2.185, allocations: 68.36 kB / 1.192 GB, free: 38.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.441e-05/2.185, allocations: 51.95 kB / 1.192 GB, free: 38.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00081/2.186, allocations: 0.7136 MB / 1.193 GB, free: 38.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.186, allocations: 0 / 1.193 GB, free: 38.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002917/2.189, allocations: 1.034 MB / 1.194 GB, free: 37.05 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.001818/2.191, allocations: 0.8437 MB / 1.194 GB, free: 36.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002743/2.193, allocations: 1.516 MB / 1.196 GB, free: 34.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/2.194, allocations: 4 kB / 1.196 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000746/2.194, allocations: 442.7 kB / 1.196 GB, free: 34.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/2.197, allocations: 0.5199 MB / 1.197 GB, free: 33.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/2.2, allocations: 2.293 MB / 1.199 GB, free: 31.42 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/2.2, allocations: 1.075 MB / 1.2 GB, free: 30.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/2.201, allocations: 134.7 kB / 1.2 GB, free: 30.19 MB / 0.4948 GB Notification: Performance of SimCode: time 1.633e-06/2.201, allocations: 4 kB / 1.2 GB, free: 30.19 MB / 0.4948 GB Notification: Performance of Templates: time 0.03099/2.232, allocations: 28.55 MB / 1.228 GB, free: 1.883 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