Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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.TestValveIncompressible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008926/0.0008926, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008175/0.0008175, allocations: 88.03 kB / 261.8 MB, free: 1.676 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.202/0.202, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.466e-05/1.468e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 58.86 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.667/6.788, allocations: 2.771 GB / 3.237 GB, free: 98.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/6.788, allocations: 90.66 kB / 3.237 GB, free: 98.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.822/8.61, allocations: 0.4969 GB / 3.734 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.172e-06/8.61, allocations: 0 / 3.734 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001438/8.61, allocations: 33.97 kB / 3.734 GB, free: 51.55 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00863/8.619, allocations: 2.048 MB / 3.736 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/8.619, allocations: 12.25 kB / 3.736 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006486/8.626, allocations: 0.728 MB / 3.737 GB, free: 50.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/8.628, allocations: 0.8015 MB / 3.738 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/8.628, allocations: 43.72 kB / 3.738 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/8.628, allocations: 51.03 kB / 3.738 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002168/8.631, allocations: 0.9139 MB / 3.739 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/8.633, allocations: 1.091 MB / 3.74 GB, free: 50.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/8.633, allocations: 4.125 kB / 3.74 GB, free: 50.15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/8.633, allocations: 8.297 kB / 3.74 GB, free: 50.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/8.633, allocations: 24.34 kB / 3.74 GB, free: 50.14 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09497/8.728, allocations: 52.96 MB / 3.792 GB, free: 33.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008832/8.729, allocations: 0.5967 MB / 3.792 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003957/8.73, allocations: 303.2 kB / 3.792 GB, free: 33.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02866/8.758, allocations: 16.65 MB / 3.809 GB, free: 23.01 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/8.758, allocations: 41.91 kB / 3.809 GB, free: 22.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=61): time 2.585e-06/8.758, allocations: 4 kB / 3.809 GB, free: 22.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.00538/8.764, allocations: 1.48 MB / 3.81 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/8.764, allocations: 219.9 kB / 3.81 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/8.765, allocations: 0.5661 MB / 3.811 GB, free: 22.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.204e-05/8.765, allocations: 25.7 kB / 3.811 GB, free: 22.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/8.765, allocations: 0.499 MB / 3.811 GB, free: 22.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/8.765, allocations: 205.5 kB / 3.812 GB, free: 22.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/8.765, allocations: 0 / 3.812 GB, free: 22.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001866/8.766, allocations: 388.7 kB / 3.812 GB, free: 21.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/8.766, allocations: 248.5 kB / 3.812 GB, free: 21.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/8.767, allocations: 0.5442 MB / 3.813 GB, free: 21.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/8.769, allocations: 0.5682 MB / 3.813 GB, free: 21.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/8.769, allocations: 0 / 3.813 GB, free: 21.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00357/8.772, allocations: 1.113 MB / 3.814 GB, free: 21.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00276/8.775, allocations: 3.227 MB / 3.818 GB, free: 33.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/8.775, allocations: 7.625 kB / 3.818 GB, free: 33.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.001e-05/8.775, allocations: 14.25 kB / 3.818 GB, free: 33.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/8.776, allocations: 272.2 kB / 3.818 GB, free: 33.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.289e-05/8.776, allocations: 20.08 kB / 3.818 GB, free: 33.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/8.778, allocations: 163.6 kB / 3.818 GB, free: 33.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/8.778, allocations: 53.03 kB / 3.818 GB, free: 33.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/8.778, allocations: 7.25 kB / 3.818 GB, free: 33.83 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002427/8.78, allocations: 0.8875 MB / 3.819 GB, free: 33.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/8.78, allocations: 7.062 kB / 3.819 GB, free: 33.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/8.78, allocations: 18.52 kB / 3.819 GB, free: 33.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/8.781, allocations: 273.6 kB / 3.819 GB, free: 33.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/8.781, allocations: 19.03 kB / 3.819 GB, free: 33.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/8.782, allocations: 141 kB / 3.819 GB, free: 33.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/8.782, allocations: 51.31 kB / 3.819 GB, free: 33.77 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002421/8.783, allocations: 136.8 kB / 3.82 GB, free: 33.65 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/8.783, allocations: 90.92 kB / 3.82 GB, free: 33.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003834/8.787, allocations: 3.363 MB / 3.823 GB, free: 33.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/8.787, allocations: 25.41 kB / 3.823 GB, free: 33.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/8.787, allocations: 0 / 3.823 GB, free: 33.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/8.787, allocations: 7.125 kB / 3.823 GB, free: 33.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/8.789, allocations: 1.822 MB / 3.825 GB, free: 32.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/8.789, allocations: 0 / 3.825 GB, free: 32.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007643/8.79, allocations: 227.8 kB / 3.825 GB, free: 32.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/8.79, allocations: 3.938 kB / 3.825 GB, free: 32.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/8.79, allocations: 7.891 kB / 3.825 GB, free: 32.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/8.79, allocations: 3.344 kB / 3.825 GB, free: 32.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/8.79, allocations: 4 kB / 3.825 GB, free: 32.69 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/8.792, allocations: 1.326 MB / 3.826 GB, free: 32.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009213/8.793, allocations: 0.7533 MB / 3.827 GB, free: 32.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003276/8.793, allocations: 0 / 3.827 GB, free: 32.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009263/8.794, allocations: 93.19 kB / 3.827 GB, free: 32.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/8.794, allocations: 94.66 kB / 3.827 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/8.794, allocations: 29.25 kB / 3.827 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001515/8.796, allocations: 1.347 MB / 3.829 GB, free: 31.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/8.796, allocations: 0 / 3.829 GB, free: 31.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006442/8.802, allocations: 1.632 MB / 3.83 GB, free: 31.72 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse22.phase,$cse22.region,$cse25.phase,$cse25.region,$cse34.phase,$cse34.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00836/8.811, allocations: 1.896 MB / 3.832 GB, free: 31.33 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002122/8.813, allocations: 1.218 MB / 3.833 GB, free: 31.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/8.813, allocations: 3.469 kB / 3.833 GB, free: 31.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005373/8.813, allocations: 496.2 kB / 3.834 GB, free: 31.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/8.816, allocations: 450.1 kB / 3.834 GB, free: 31.26 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/8.819, allocations: 2.221 MB / 3.836 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000853/8.82, allocations: 1.441 MB / 3.838 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002195/8.822, allocations: 1.674 MB / 3.839 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/8.823, allocations: 85.83 kB / 3.839 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of SimCode: time 6.01e-07/8.823, allocations: 0 / 3.839 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of Templates: time 0.0594/8.882, allocations: 42.23 MB / 3.881 GB, free: 26.97 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveIncompressible/TestValveIncompressible.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches