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.001449/0.001449, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.86/1.86, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001108/0.001108, allocations: 96.41 kB / 270.9 MB, free: 8.371 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.5042/0.5042, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004761, allocations: 16 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1234, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.378/8.501, allocations: 2.772 GB / 3.251 GB, free: 37.59 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/8.502, allocations: 89.38 kB / 3.251 GB, free: 37.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.809/11.31, allocations: 0.5035 GB / 3.754 GB, free: 45.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.565e-06/11.31, allocations: 0 / 3.754 GB, free: 45.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.698e-05/11.31, allocations: 31.28 kB / 3.754 GB, free: 45.3 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.009608/11.32, allocations: 2.162 MB / 3.757 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/11.32, allocations: 6.188 kB / 3.757 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008392/11.33, allocations: 0.7234 MB / 3.757 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/11.33, allocations: 0.8039 MB / 3.758 GB, free: 43.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/11.33, allocations: 85.16 kB / 3.758 GB, free: 43.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/11.33, allocations: 89.12 kB / 3.758 GB, free: 43.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006631/11.34, allocations: 1.745 MB / 3.76 GB, free: 43.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/11.34, allocations: 11.16 kB / 3.76 GB, free: 43.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/11.34, allocations: 43.23 kB / 3.76 GB, free: 43.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/11.34, allocations: 26.03 kB / 3.76 GB, free: 43.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00736/11.35, allocations: 1.654 MB / 3.762 GB, free: 43.56 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/11.36, allocations: 7.561 MB / 3.769 GB, free: 38.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006603/11.37, allocations: 1.308 MB / 3.77 GB, free: 38.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07192/11.44, allocations: 24.17 MB / 3.794 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/11.44, allocations: 47.78 kB / 3.794 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=67): time 3.727e-06/11.44, allocations: 0 / 3.794 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.01174/11.45, allocations: 2.226 MB / 3.796 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/11.45, allocations: 213 kB / 3.796 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/11.45, allocations: 0.7291 MB / 3.797 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/11.45, allocations: 38.77 kB / 3.797 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/11.45, allocations: 493.5 kB / 3.798 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/11.45, allocations: 226.9 kB / 3.798 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.67e-05/11.45, allocations: 13.12 kB / 3.798 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/11.45, allocations: 346.8 kB / 3.798 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/11.45, allocations: 397 kB / 3.798 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/11.46, allocations: 0.6802 MB / 3.799 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/11.46, allocations: 449.2 kB / 3.8 GB, free: 22 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.108e-06/11.46, allocations: 7.969 kB / 3.8 GB, free: 22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004443/11.46, allocations: 1.122 MB / 3.801 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001489/11.46, allocations: 3.23 MB / 3.804 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.365e-05/11.46, allocations: 8.312 kB / 3.804 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.411e-05/11.46, allocations: 20.62 kB / 3.804 GB, free: 34.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/11.47, allocations: 272.4 kB / 3.804 GB, free: 34.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-05/11.47, allocations: 17.91 kB / 3.804 GB, free: 34.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/11.47, allocations: 184.8 kB / 3.804 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/11.47, allocations: 58.59 kB / 3.804 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/11.47, allocations: 10.11 kB / 3.804 GB, free: 34.45 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004152/11.47, allocations: 1.052 MB / 3.805 GB, free: 34.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/11.47, allocations: 7.875 kB / 3.805 GB, free: 34.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/11.47, allocations: 17.38 kB / 3.805 GB, free: 34.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/11.47, allocations: 266.4 kB / 3.806 GB, free: 34.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/11.47, allocations: 19.25 kB / 3.806 GB, free: 34.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/11.48, allocations: 155.7 kB / 3.806 GB, free: 34.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/11.48, allocations: 48.97 kB / 3.806 GB, free: 34.36 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 () * 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.0007805/11.48, allocations: 354.7 kB / 3.806 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/11.48, allocations: 106.7 kB / 3.806 GB, free: 34.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008807/11.49, allocations: 5.127 MB / 3.811 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.988e-05/11.49, allocations: 64.3 kB / 3.811 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/11.49, allocations: 4 kB / 3.811 GB, free: 33.35 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/11.49, allocations: 7.406 kB / 3.811 GB, free: 33.35 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003609/11.49, allocations: 2.498 MB / 3.814 GB, free: 32.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/11.49, allocations: 3 kB / 3.814 GB, free: 32.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/11.49, allocations: 231 kB / 3.814 GB, free: 32.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/11.49, allocations: 7.125 kB / 3.814 GB, free: 32.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.533e-05/11.49, allocations: 25.52 kB / 3.814 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/11.49, allocations: 7.5 kB / 3.814 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/11.49, allocations: 0 / 3.814 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005022/11.5, allocations: 2.38 MB / 3.816 GB, free: 31.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/11.5, allocations: 0.701 MB / 3.817 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003625/11.5, allocations: 18.5 kB / 3.817 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/11.5, allocations: 117.9 kB / 3.817 GB, free: 31.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002409/11.5, allocations: 77.23 kB / 3.817 GB, free: 31.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.852e-05/11.5, allocations: 37.33 kB / 3.817 GB, free: 31.31 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002223/11.5, allocations: 1.185 MB / 3.819 GB, free: 30.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.61e-07/11.5, allocations: 0 / 3.819 GB, free: 30.83 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0079/11.51, allocations: 1.614 MB / 3.82 GB, free: 30.54 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 () * 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.01035/11.52, allocations: 1.777 MB / 3.822 GB, free: 30.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006584/11.53, allocations: 2.048 MB / 3.824 GB, free: 29.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/11.53, allocations: 0 / 3.824 GB, free: 29.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002405/11.53, allocations: 1.162 MB / 3.825 GB, free: 28.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005168/11.53, allocations: 0.6019 MB / 3.826 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00852/11.54, allocations: 4.972 MB / 3.83 GB, free: 25.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/11.54, allocations: 1.561 MB / 3.832 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005976/11.55, allocations: 113.2 kB / 3.832 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of SimCode: time 1.282e-06/11.55, allocations: 4 kB / 3.832 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.08856/11.63, allocations: 43.35 MB / 3.874 GB, free: 4.551 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