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.001133/0.001133, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.157/1.157, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007295/0.0007295, allocations: 90.55 kB / 267.1 MB, free: 9.273 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.309/0.309, allocations: 43.47 MB / 358.6 MB, free: 51.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.588e-05, allocations: 4 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.09858, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.82/4.919, allocations: 2.772 GB / 3.245 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/4.919, allocations: 85.12 kB / 3.245 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.301/6.221, allocations: 0.5017 GB / 3.747 GB, free: 16.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.132e-06/6.221, allocations: 0 / 3.747 GB, free: 16.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.861e-05/6.221, allocations: 32.05 kB / 3.747 GB, free: 16.92 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.005686/6.226, allocations: 2.052 MB / 3.749 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/6.226, allocations: 10.91 kB / 3.749 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004835/6.231, allocations: 0.7155 MB / 3.749 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/6.232, allocations: 0.8088 MB / 3.75 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/6.232, allocations: 79.28 kB / 3.75 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.855e-05/6.232, allocations: 85.19 kB / 3.75 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002975/6.235, allocations: 1.718 MB / 3.752 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/6.236, allocations: 11.17 kB / 3.752 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.954e-05/6.236, allocations: 44.59 kB / 3.752 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/6.236, allocations: 23.47 kB / 3.752 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/6.238, allocations: 1.487 MB / 3.753 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006316/6.245, allocations: 7.555 MB / 3.761 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/6.247, allocations: 1.189 MB / 3.762 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/6.248, allocations: 342.4 kB / 3.762 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2827/6.53, allocations: 24.24 MB / 3.786 GB, free: 49.37 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/6.53, allocations: 45.38 kB / 3.786 GB, free: 49.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=67): time 2.835e-06/6.53, allocations: 0 / 3.786 GB, free: 49.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67): time 0.005129/6.536, allocations: 1.781 MB / 3.788 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/6.536, allocations: 215 kB / 3.788 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008808/6.537, allocations: 0.7194 MB / 3.789 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.354e-05/6.537, allocations: 42.05 kB / 3.789 GB, free: 48.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/6.537, allocations: 477.6 kB / 3.789 GB, free: 48.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/6.537, allocations: 232.7 kB / 3.789 GB, free: 48.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/6.537, allocations: 16.22 kB / 3.789 GB, free: 48.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.957e-05/6.537, allocations: 341.8 kB / 3.79 GB, free: 48.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004319/6.538, allocations: 261.4 kB / 3.79 GB, free: 48.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/6.538, allocations: 0.5608 MB / 3.791 GB, free: 47.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/6.539, allocations: 325.8 kB / 3.791 GB, free: 47.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/6.539, allocations: 2.438 kB / 3.791 GB, free: 47.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001332/6.54, allocations: 0.9368 MB / 3.792 GB, free: 47.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004839/6.54, allocations: 3.23 MB / 3.795 GB, free: 44.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/6.54, allocations: 7.375 kB / 3.795 GB, free: 44.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/6.541, allocations: 15.12 kB / 3.795 GB, free: 44.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008237/6.541, allocations: 274.2 kB / 3.795 GB, free: 44.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/6.541, allocations: 21.69 kB / 3.795 GB, free: 44.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009139/6.542, allocations: 189.2 kB / 3.795 GB, free: 44.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/6.542, allocations: 55.45 kB / 3.795 GB, free: 44.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/6.542, allocations: 8.859 kB / 3.795 GB, free: 44.46 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001016/6.543, allocations: 0.7982 MB / 3.796 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/6.543, allocations: 12.91 kB / 3.796 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/6.543, allocations: 16.22 kB / 3.796 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007724/6.544, allocations: 271.6 kB / 3.797 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/6.544, allocations: 15.25 kB / 3.797 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007029/6.545, allocations: 172.2 kB / 3.797 GB, free: 44.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/6.545, allocations: 57.31 kB / 3.797 GB, free: 44.42 MB / 0.5261 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.0001365/6.545, allocations: 159.1 kB / 3.797 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/6.545, allocations: 110.5 kB / 3.797 GB, free: 44.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003622/6.549, allocations: 4.873 MB / 3.802 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.162e-05/6.549, allocations: 62.95 kB / 3.802 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/6.549, allocations: 1.344 kB / 3.802 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/6.549, allocations: 3 kB / 3.802 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/6.551, allocations: 2.505 MB / 3.804 GB, free: 43.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/6.551, allocations: 0 / 3.804 GB, free: 43.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007191/6.552, allocations: 240.6 kB / 3.805 GB, free: 43.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/6.552, allocations: 7.688 kB / 3.805 GB, free: 43.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/6.552, allocations: 19.11 kB / 3.805 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/6.552, allocations: 2.844 kB / 3.805 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/6.552, allocations: 0 / 3.805 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/6.553, allocations: 2.124 MB / 3.807 GB, free: 42.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005538/6.554, allocations: 0.7018 MB / 3.807 GB, free: 42.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/6.554, allocations: 17 kB / 3.807 GB, free: 42.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007672/6.555, allocations: 117.3 kB / 3.807 GB, free: 42.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/6.555, allocations: 84.09 kB / 3.808 GB, free: 42.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/6.555, allocations: 32.22 kB / 3.808 GB, free: 42.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001085/6.556, allocations: 1.166 MB / 3.809 GB, free: 42.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/6.556, allocations: 0 / 3.809 GB, free: 42.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004776/6.561, allocations: 1.614 MB / 3.81 GB, free: 42.39 MB / 0.5261 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 () * 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.004258/6.565, allocations: 1.775 MB / 3.812 GB, free: 42.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001822/6.567, allocations: 1.694 MB / 3.814 GB, free: 42.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/6.567, allocations: 2.516 kB / 3.814 GB, free: 42.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007416/6.568, allocations: 1.033 MB / 3.815 GB, free: 42.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/6.57, allocations: 0.5997 MB / 3.815 GB, free: 42.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/6.573, allocations: 3.087 MB / 3.818 GB, free: 41.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/6.574, allocations: 1.567 MB / 3.82 GB, free: 40.69 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001844/6.576, allocations: 1.64 MB / 3.821 GB, free: 40.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/6.576, allocations: 95.67 kB / 3.822 GB, free: 40.67 MB / 0.5261 GB Notification: Performance of SimCode: time 3.3e-07/6.576, allocations: 0 / 3.822 GB, free: 40.67 MB / 0.5261 GB Notification: Performance of Templates: time 0.05997/6.636, allocations: 55.93 MB / 3.876 GB, free: 38.18 MB / 0.5261 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