Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.TestCheckValve,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|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,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|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 181.7 kB / 17.41 MB, free: 4.285 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.272/1.272, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007439/0.0007439, allocations: 90.3 kB / 271.9 MB, free: 8.242 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.2956/0.2956, allocations: 43.56 MB / 363.8 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 16 kB / 432.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1141, allocations: 58.85 MB / 491.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.593/5.707, allocations: 2.771 GB / 3.251 GB, free: 101 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/5.707, allocations: 86.58 kB / 3.251 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7334/6.441, allocations: 233.9 MB / 3.48 GB, free: 48.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.944e-06/6.441, allocations: 0 / 3.48 GB, free: 48.94 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.419e-05/6.441, allocations: 15.59 kB / 3.48 GB, free: 48.94 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.005531/6.446, allocations: 1.318 MB / 3.481 GB, free: 48.08 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/6.446, allocations: 11.19 kB / 3.481 GB, free: 48.08 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/6.448, allocations: 244 kB / 3.481 GB, free: 48.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008014/6.449, allocations: 423.9 kB / 3.482 GB, free: 47.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/6.449, allocations: 29.56 kB / 3.482 GB, free: 47.72 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/6.449, allocations: 27.56 kB / 3.482 GB, free: 47.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/6.451, allocations: 0.63 MB / 3.482 GB, free: 47.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/6.451, allocations: 3.969 kB / 3.482 GB, free: 47.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.447e-05/6.451, allocations: 15.91 kB / 3.482 GB, free: 47.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/6.451, allocations: 7.844 kB / 3.482 GB, free: 47.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/6.453, allocations: 0.5963 MB / 3.483 GB, free: 47.29 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/6.455, allocations: 2.633 MB / 3.486 GB, free: 45.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/6.457, allocations: 469.7 kB / 3.486 GB, free: 45.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/6.457, allocations: 192.2 kB / 3.486 GB, free: 44.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03991/6.497, allocations: 24.08 MB / 3.51 GB, free: 25.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/6.497, allocations: 34.56 kB / 3.51 GB, free: 25.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/6.497, allocations: 3.938 kB / 3.51 GB, free: 25.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25): time 0.002902/6.5, allocations: 0.8339 MB / 3.511 GB, free: 24.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/6.5, allocations: 110.8 kB / 3.511 GB, free: 24.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005411/6.501, allocations: 377.5 kB / 3.511 GB, free: 23.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/6.501, allocations: 29.7 kB / 3.511 GB, free: 23.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/6.501, allocations: 224.1 kB / 3.511 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.883e-05/6.501, allocations: 82.75 kB / 3.511 GB, free: 23.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/6.501, allocations: 8 kB / 3.511 GB, free: 23.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.4e-05/6.501, allocations: 342.8 kB / 3.512 GB, free: 23.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/6.502, allocations: 159.9 kB / 3.512 GB, free: 22.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/6.502, allocations: 267.6 kB / 3.512 GB, free: 22.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007651/6.503, allocations: 400.4 kB / 3.513 GB, free: 22.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/6.503, allocations: 0 / 3.513 GB, free: 22.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001049/6.504, allocations: 482.4 kB / 3.513 GB, free: 21.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.963e-05/6.504, allocations: 175.6 kB / 3.513 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/6.504, allocations: 4 kB / 3.513 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/6.504, allocations: 8 kB / 3.513 GB, free: 21.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/6.504, allocations: 111.9 kB / 3.513 GB, free: 21.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/6.504, allocations: 7.938 kB / 3.513 GB, free: 21.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/6.505, allocations: 83.42 kB / 3.513 GB, free: 21.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/6.505, allocations: 16 kB / 3.513 GB, free: 21.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/6.505, allocations: 4 kB / 3.513 GB, free: 21.21 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008964/6.506, allocations: 427.9 kB / 3.514 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/6.506, allocations: 4 kB / 3.514 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/6.506, allocations: 4 kB / 3.514 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/6.506, allocations: 108 kB / 3.514 GB, free: 20.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/6.506, allocations: 11.88 kB / 3.514 GB, free: 20.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/6.507, allocations: 63.7 kB / 3.514 GB, free: 20.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/6.507, allocations: 27.94 kB / 3.514 GB, free: 20.58 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0002331/6.507, allocations: 241 kB / 3.514 GB, free: 20.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/6.507, allocations: 39.53 kB / 3.514 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/6.509, allocations: 1.976 MB / 3.516 GB, free: 18.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/6.509, allocations: 31.89 kB / 3.516 GB, free: 18.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/6.509, allocations: 4 kB / 3.516 GB, free: 18.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/6.509, allocations: 0 / 3.516 GB, free: 18.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000919/6.51, allocations: 1.044 MB / 3.517 GB, free: 17.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/6.51, allocations: 0 / 3.517 GB, free: 17.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/6.511, allocations: 83.94 kB / 3.517 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/6.511, allocations: 4 kB / 3.517 GB, free: 17.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/6.511, allocations: 15.98 kB / 3.517 GB, free: 17.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/6.511, allocations: 3.938 kB / 3.517 GB, free: 17.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/6.511, allocations: 3.938 kB / 3.517 GB, free: 17.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/6.512, allocations: 1.122 MB / 3.518 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/6.512, allocations: 275.3 kB / 3.519 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.057e-05/6.512, allocations: 8 kB / 3.519 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/6.513, allocations: 47.91 kB / 3.519 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/6.513, allocations: 35.94 kB / 3.519 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/6.513, allocations: 8 kB / 3.519 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003906/6.513, allocations: 374.8 kB / 3.519 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/6.513, allocations: 4 kB / 3.519 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005098/6.518, allocations: 1.186 MB / 3.52 GB, free: 13.99 MB / 0.4948 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,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.008458/6.527, allocations: 1.479 MB / 3.522 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0019/6.529, allocations: 0.8654 MB / 3.523 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/6.529, allocations: 4 kB / 3.523 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006136/6.529, allocations: 0.5212 MB / 3.523 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/6.531, allocations: 219.6 kB / 3.523 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/6.533, allocations: 1.992 MB / 3.525 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/6.533, allocations: 0.9758 MB / 3.526 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/6.533, allocations: 55.42 kB / 3.526 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/6.533, allocations: 0 / 3.526 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of Templates: time 0.2828/6.816, allocations: 25.33 MB / 3.551 GB, free: 77.72 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestCheckValve/TestCheckValve.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches