Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002382/0.002386, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.957/1.957, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001049/0.001048, allocations: 86.66 kB / 267.5 MB, free: 14.11 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.2713/0.2713, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.411e-05, allocations: 7.984 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 58.84 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.216/8.329, allocations: 2.772 GB / 3.245 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/8.33, allocations: 86.73 kB / 3.245 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.39/10.72, allocations: 0.5017 GB / 3.747 GB, free: 41.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.013e-06/10.72, allocations: 3.531 kB / 3.747 GB, free: 41.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.911e-05/10.72, allocations: 31.33 kB / 3.747 GB, free: 41.51 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.008597/10.73, allocations: 2.049 MB / 3.749 GB, free: 40.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/10.73, allocations: 10.59 kB / 3.749 GB, free: 40.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008111/10.74, allocations: 0.7203 MB / 3.749 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/10.74, allocations: 0.8089 MB / 3.75 GB, free: 39.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/10.74, allocations: 76.72 kB / 3.75 GB, free: 39.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/10.74, allocations: 87.78 kB / 3.75 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005322/10.75, allocations: 1.716 MB / 3.752 GB, free: 38.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/10.75, allocations: 3 kB / 3.752 GB, free: 38.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/10.75, allocations: 44.97 kB / 3.752 GB, free: 38.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/10.75, allocations: 25.53 kB / 3.752 GB, free: 38.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005091/10.75, allocations: 1.497 MB / 3.753 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/10.76, allocations: 7.558 MB / 3.761 GB, free: 29.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004506/10.77, allocations: 1.178 MB / 3.762 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007708/10.77, allocations: 338.5 kB / 3.762 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07227/10.84, allocations: 24.25 MB / 3.786 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/10.84, allocations: 47.3 kB / 3.786 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=67): time 3.787e-06/10.84, allocations: 7.938 kB / 3.786 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.008551/10.85, allocations: 1.778 MB / 3.788 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/10.85, allocations: 214.2 kB / 3.788 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/10.85, allocations: 0.7328 MB / 3.789 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002164/10.85, allocations: 37.7 kB / 3.789 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004673/10.85, allocations: 473.3 kB / 3.789 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003388/10.85, allocations: 239.5 kB / 3.789 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/10.85, allocations: 20 kB / 3.789 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001622/10.85, allocations: 342.8 kB / 3.79 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008223/10.85, allocations: 258 kB / 3.79 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/10.85, allocations: 0.5621 MB / 3.791 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000942/10.86, allocations: 333.8 kB / 3.791 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/10.86, allocations: 3.953 kB / 3.791 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002717/10.86, allocations: 0.8708 MB / 3.792 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00138/10.86, allocations: 3.226 MB / 3.795 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/10.86, allocations: 8 kB / 3.795 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.066e-05/10.86, allocations: 16 kB / 3.795 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/10.86, allocations: 271.6 kB / 3.795 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.713e-05/10.86, allocations: 23.89 kB / 3.795 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/10.86, allocations: 194.7 kB / 3.795 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/10.86, allocations: 47.98 kB / 3.795 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/10.86, allocations: 4 kB / 3.795 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00246/10.87, allocations: 0.8032 MB / 3.796 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/10.87, allocations: 8 kB / 3.796 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/10.87, allocations: 16 kB / 3.796 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/10.87, allocations: 275.9 kB / 3.796 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.893e-05/10.87, allocations: 19.92 kB / 3.797 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/10.87, allocations: 151.2 kB / 3.797 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/10.87, allocations: 51.98 kB / 3.797 GB, free: 5.484 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.0003774/10.87, allocations: 164.7 kB / 3.797 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00036/10.87, allocations: 106.7 kB / 3.797 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008411/10.88, allocations: 4.866 MB / 3.802 GB, free: 304 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.312e-05/10.88, allocations: 67.83 kB / 3.802 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/10.88, allocations: 0 / 3.802 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/10.88, allocations: 7.984 kB / 3.802 GB, free: 228 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.393/11.27, allocations: 2.494 MB / 3.804 GB, free: 66.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/11.27, allocations: 0 / 3.804 GB, free: 66.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/11.28, allocations: 239.5 kB / 3.804 GB, free: 66.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/11.28, allocations: 1.688 kB / 3.804 GB, free: 66.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.632e-05/11.28, allocations: 25.7 kB / 3.804 GB, free: 66.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/11.28, allocations: 6.5 kB / 3.804 GB, free: 66.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/11.28, allocations: 0.9375 kB / 3.804 GB, free: 66.76 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00358/11.28, allocations: 2.121 MB / 3.807 GB, free: 66.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/11.28, allocations: 0.7005 MB / 3.807 GB, free: 66.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/11.28, allocations: 17.86 kB / 3.807 GB, free: 66.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/11.28, allocations: 113.9 kB / 3.807 GB, free: 66.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/11.28, allocations: 82.17 kB / 3.807 GB, free: 66.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-05/11.28, allocations: 32.75 kB / 3.807 GB, free: 66.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002288/11.28, allocations: 1.161 MB / 3.809 GB, free: 66.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.382e-06/11.28, allocations: 0 / 3.809 GB, free: 66.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008079/11.29, allocations: 1.622 MB / 3.81 GB, free: 66.07 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.01057/11.3, allocations: 1.782 MB / 3.812 GB, free: 65.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00415/11.31, allocations: 1.657 MB / 3.814 GB, free: 65.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/11.31, allocations: 6.844 kB / 3.814 GB, free: 65.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001945/11.31, allocations: 1.035 MB / 3.815 GB, free: 65.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005578/11.32, allocations: 0.5961 MB / 3.815 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007181/11.32, allocations: 3.117 MB / 3.818 GB, free: 65.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/11.32, allocations: 1.567 MB / 3.82 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006769/11.32, allocations: 113.9 kB / 3.82 GB, free: 64.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/11.32, allocations: 0 / 3.82 GB, free: 64.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.09269/11.42, allocations: 43.11 MB / 3.862 GB, free: 61.49 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches