Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001218/0.001218, allocations: 183.4 kB / 15.76 MB, free: 6.367 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.514/1.514, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.00103/0.00103, allocations: 82.88 kB / 270.2 MB, free: 13.36 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.2029/0.2029, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1224, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.534/6.657, allocations: 2.771 GB / 3.25 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/6.657, allocations: 85.7 kB / 3.25 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9243/7.582, allocations: 234.6 MB / 3.479 GB, free: 77.72 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.764e-06/7.582, allocations: 3.688 kB / 3.479 GB, free: 77.72 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.278e-05/7.582, allocations: 10.56 kB / 3.479 GB, free: 77.71 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00569/7.587, allocations: 1.319 MB / 3.48 GB, free: 76.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/7.587, allocations: 11.5 kB / 3.48 GB, free: 76.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/7.59, allocations: 246.2 kB / 3.48 GB, free: 76.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/7.591, allocations: 411 kB / 3.481 GB, free: 76.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.219e-05/7.591, allocations: 35.08 kB / 3.481 GB, free: 76.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.183e-05/7.591, allocations: 33.22 kB / 3.481 GB, free: 76.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/7.593, allocations: 0.6227 MB / 3.482 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/7.593, allocations: 352 / 3.482 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/7.593, allocations: 19.58 kB / 3.482 GB, free: 76.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/7.593, allocations: 7.062 kB / 3.482 GB, free: 76.22 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/7.594, allocations: 0.5963 MB / 3.482 GB, free: 76.08 MB / 0.5105 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.003042/7.597, allocations: 2.618 MB / 3.485 GB, free: 73.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/7.599, allocations: 472 kB / 3.485 GB, free: 73.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04001/7.639, allocations: 24.08 MB / 3.509 GB, free: 58.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/7.639, allocations: 34.41 kB / 3.509 GB, free: 58.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 2.194e-06/7.639, allocations: 0 / 3.509 GB, free: 58.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.002749/7.641, allocations: 0.8327 MB / 3.51 GB, free: 58.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/7.642, allocations: 114.3 kB / 3.51 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/7.642, allocations: 331.2 kB / 3.51 GB, free: 57.94 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/7.642, allocations: 29.7 kB / 3.51 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/7.642, allocations: 221.3 kB / 3.51 GB, free: 57.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.401e-05/7.642, allocations: 84.92 kB / 3.51 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/7.642, allocations: 7.938 kB / 3.51 GB, free: 57.65 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/7.642, allocations: 352.6 kB / 3.511 GB, free: 57.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/7.643, allocations: 161.4 kB / 3.511 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/7.643, allocations: 267 kB / 3.511 GB, free: 57.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/7.644, allocations: 181.5 kB / 3.511 GB, free: 57.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/7.644, allocations: 0 / 3.511 GB, free: 57.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001003/7.645, allocations: 491.5 kB / 3.512 GB, free: 56.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002524/7.645, allocations: 1.057 MB / 3.513 GB, free: 55.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/7.645, allocations: 3.906 kB / 3.513 GB, free: 55.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/7.645, allocations: 7.906 kB / 3.513 GB, free: 55.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/7.645, allocations: 117.6 kB / 3.513 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/7.645, allocations: 3.812 kB / 3.513 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/7.646, allocations: 73.36 kB / 3.513 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/7.646, allocations: 19.66 kB / 3.513 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/7.646, allocations: 7.922 kB / 3.513 GB, free: 55.67 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008813/7.647, allocations: 421.1 kB / 3.513 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/7.647, allocations: 3.281 kB / 3.513 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-06/7.647, allocations: 3.875 kB / 3.513 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/7.647, allocations: 105.2 kB / 3.513 GB, free: 55.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/7.647, allocations: 11.44 kB / 3.513 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/7.648, allocations: 67.7 kB / 3.513 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/7.648, allocations: 21.25 kB / 3.514 GB, free: 55.49 MB / 0.5105 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.0002307/7.648, allocations: 239.7 kB / 3.514 GB, free: 55.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.832e-05/7.648, allocations: 42.55 kB / 3.514 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/7.65, allocations: 1.973 MB / 3.516 GB, free: 54.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/7.65, allocations: 29.94 kB / 3.516 GB, free: 54.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/7.65, allocations: 4 kB / 3.516 GB, free: 54.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/7.65, allocations: 0 / 3.516 GB, free: 54.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/7.651, allocations: 1.049 MB / 3.517 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/7.651, allocations: 0 / 3.517 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/7.652, allocations: 92.16 kB / 3.517 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/7.652, allocations: 4 kB / 3.517 GB, free: 53.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/7.652, allocations: 19.7 kB / 3.517 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/7.652, allocations: 3.906 kB / 3.517 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/7.652, allocations: 0 / 3.517 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/7.653, allocations: 1.118 MB / 3.518 GB, free: 53.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/7.653, allocations: 268.5 kB / 3.518 GB, free: 52.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-05/7.653, allocations: 7.938 kB / 3.518 GB, free: 52.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/7.654, allocations: 50.77 kB / 3.518 GB, free: 52.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/7.654, allocations: 38.72 kB / 3.518 GB, free: 52.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/7.654, allocations: 11.81 kB / 3.518 GB, free: 52.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003895/7.654, allocations: 372.3 kB / 3.519 GB, free: 52.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/7.654, allocations: 0 / 3.519 GB, free: 52.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005226/7.659, allocations: 1.186 MB / 3.52 GB, free: 52.5 MB / 0.5105 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.008234/7.668, allocations: 1.477 MB / 3.521 GB, free: 52.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001837/7.67, allocations: 0.8592 MB / 3.522 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/7.67, allocations: 8 kB / 3.522 GB, free: 51.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006244/7.67, allocations: 0.528 MB / 3.523 GB, free: 51.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/7.671, allocations: 212.3 kB / 3.523 GB, free: 51.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/7.674, allocations: 1.956 MB / 3.525 GB, free: 50.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/7.674, allocations: 1.001 MB / 3.526 GB, free: 49.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007961/7.675, allocations: 0.532 MB / 3.526 GB, free: 49.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/7.675, allocations: 55.31 kB / 3.526 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/7.675, allocations: 3.938 kB / 3.526 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.04443/7.72, allocations: 33.12 MB / 3.559 GB, free: 21.71 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches