Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001743/0.001743, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 226.5 MB / 245.4 MB, free: 6.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007681/0.0007681, allocations: 102.9 kB / 297.5 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3137/0.3137, allocations: 44.83 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.0002514, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4153, allocations: 62.96 MB / 0.5184 GB, free: 37.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.698/7.113, allocations: 2.779 GB / 3.297 GB, free: 160.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/7.113, allocations: 88.88 kB / 3.297 GB, free: 160.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.739/8.852, allocations: 0.5052 GB / 3.802 GB, free: 54.96 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.134e-06/8.852, allocations: 7.062 kB / 3.802 GB, free: 54.96 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001243/8.852, allocations: 32.55 kB / 3.802 GB, free: 54.95 MB / 0.5417 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.009877/8.862, allocations: 2.164 MB / 3.804 GB, free: 53.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/8.862, allocations: 11.28 kB / 3.804 GB, free: 53.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006081/8.868, allocations: 0.7241 MB / 3.805 GB, free: 53.84 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/8.871, allocations: 0.8318 MB / 3.806 GB, free: 53.52 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/8.871, allocations: 78.97 kB / 3.806 GB, free: 53.52 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002845/8.871, allocations: 88.38 kB / 3.806 GB, free: 53.51 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004655/8.876, allocations: 1.751 MB / 3.808 GB, free: 53.18 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/8.876, allocations: 4.5 kB / 3.808 GB, free: 53.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/8.876, allocations: 51.16 kB / 3.808 GB, free: 53.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/8.876, allocations: 27.38 kB / 3.808 GB, free: 53.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005047/8.881, allocations: 1.652 MB / 3.81 GB, free: 53.17 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/8.894, allocations: 7.548 MB / 3.817 GB, free: 48.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005304/8.899, allocations: 1.308 MB / 3.818 GB, free: 48.15 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/8.901, allocations: 471.1 kB / 3.819 GB, free: 48.14 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05241/8.953, allocations: 26.74 MB / 3.845 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/8.953, allocations: 43.34 kB / 3.845 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=67): time 3.156e-06/8.953, allocations: 0 / 3.845 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=67): time 0.007039/8.96, allocations: 2.226 MB / 3.847 GB, free: 29.97 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/8.961, allocations: 217.4 kB / 3.847 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/8.962, allocations: 0.8299 MB / 3.848 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/8.962, allocations: 41.27 kB / 3.848 GB, free: 29.31 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/8.962, allocations: 482.8 kB / 3.848 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000216/8.962, allocations: 228 kB / 3.849 GB, free: 28.76 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/8.963, allocations: 19.81 kB / 3.849 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.452e-05/8.963, allocations: 342.7 kB / 3.849 GB, free: 28.43 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009221/8.964, allocations: 394 kB / 3.849 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009876/8.965, allocations: 0.6817 MB / 3.85 GB, free: 27.84 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/8.966, allocations: 1.046 MB / 3.851 GB, free: 27.22 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/8.966, allocations: 3.844 kB / 3.851 GB, free: 27.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002502/8.969, allocations: 1.191 MB / 3.852 GB, free: 26.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/8.969, allocations: 333.4 kB / 3.853 GB, free: 26.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/8.969, allocations: 6 kB / 3.853 GB, free: 26.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.393e-05/8.969, allocations: 13.41 kB / 3.853 GB, free: 26.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008471/8.97, allocations: 275.9 kB / 3.853 GB, free: 26.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.317e-05/8.97, allocations: 21.12 kB / 3.853 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/8.971, allocations: 184.9 kB / 3.853 GB, free: 26.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.24e-05/8.971, allocations: 51.19 kB / 3.853 GB, free: 26.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.585e-06/8.971, allocations: 3.938 kB / 3.853 GB, free: 26.25 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002174/8.974, allocations: 1.058 MB / 3.854 GB, free: 25.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/8.974, allocations: 14.33 kB / 3.854 GB, free: 25.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/8.974, allocations: 14.33 kB / 3.854 GB, free: 25.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008015/8.974, allocations: 270.6 kB / 3.854 GB, free: 25.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/8.974, allocations: 18.41 kB / 3.854 GB, free: 25.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/8.975, allocations: 175.6 kB / 3.855 GB, free: 25.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/8.976, allocations: 51.62 kB / 3.855 GB, free: 25.78 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 () * Number of clocked 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.0005206/8.976, allocations: 338 kB / 3.855 GB, free: 25.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/8.976, allocations: 107.2 kB / 3.855 GB, free: 25.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005376/8.982, allocations: 5.126 MB / 3.86 GB, free: 23.09 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.783e-05/8.982, allocations: 63.73 kB / 3.86 GB, free: 23.07 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/8.982, allocations: 0 / 3.86 GB, free: 23.07 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/8.982, allocations: 7.688 kB / 3.86 GB, free: 23.07 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/8.984, allocations: 2.508 MB / 3.863 GB, free: 21.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/8.984, allocations: 0 / 3.863 GB, free: 21.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/8.985, allocations: 236.5 kB / 3.863 GB, free: 21.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/8.985, allocations: 3.906 kB / 3.863 GB, free: 21.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.366e-05/8.985, allocations: 25.19 kB / 3.863 GB, free: 21.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/8.985, allocations: 3.25 kB / 3.863 GB, free: 21.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/8.985, allocations: 0 / 3.863 GB, free: 21.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/8.988, allocations: 2.384 MB / 3.865 GB, free: 20.72 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008454/8.989, allocations: 0.6926 MB / 3.866 GB, free: 20.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003044/8.989, allocations: 19.09 kB / 3.866 GB, free: 20.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009304/8.99, allocations: 111.2 kB / 3.866 GB, free: 20.22 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/8.99, allocations: 86.95 kB / 3.866 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/8.99, allocations: 30.7 kB / 3.866 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001506/8.992, allocations: 1.189 MB / 3.867 GB, free: 19.72 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/8.992, allocations: 0 / 3.867 GB, free: 19.72 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006332/8.998, allocations: 1.634 MB / 3.869 GB, free: 19.42 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: 42 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.008449/9.007, allocations: 1.794 MB / 3.871 GB, free: 18.95 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003997/9.011, allocations: 2.038 MB / 3.873 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/9.011, allocations: 0 / 3.873 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/9.012, allocations: 1.168 MB / 3.874 GB, free: 17.78 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/9.016, allocations: 0.6025 MB / 3.874 GB, free: 17.61 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/9.021, allocations: 4.933 MB / 3.879 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009756/9.022, allocations: 1.522 MB / 3.881 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002494/9.025, allocations: 1.589 MB / 3.882 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/9.025, allocations: 106.5 kB / 3.882 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of SimCode: time 6.01e-07/9.025, allocations: 4 kB / 3.882 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.3903/9.416, allocations: 55.42 MB / 3.936 GB, free: 65.23 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveIncompressible/TestValveIncompressible.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches