Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009801/0.00098, allocations: 179.4 kB / 18.09 MB, free: 3.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 242.1 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007852/0.0007851, allocations: 98.19 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3176/0.3176, allocations: 44.15 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004075, allocations: 16 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3263, allocations: 61.88 MB / 0.5107 GB, free: 38.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.027/5.353, allocations: 2.777 GB / 3.287 GB, free: 78.84 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/5.354, allocations: 100.5 kB / 3.287 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7074/6.061, allocations: 236.4 MB / 3.518 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.595e-06/6.061, allocations: 0 / 3.518 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.186e-05/6.061, allocations: 11.98 kB / 3.518 GB, free: 55.6 MB / 0.5261 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.005018/6.066, allocations: 1.313 MB / 3.519 GB, free: 54.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/6.066, allocations: 19.91 kB / 3.52 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/6.068, allocations: 248.1 kB / 3.52 GB, free: 53.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/6.069, allocations: 428.3 kB / 3.52 GB, free: 53.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/6.069, allocations: 25.78 kB / 3.52 GB, free: 53.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/6.069, allocations: 32 kB / 3.52 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/6.07, allocations: 0.6255 MB / 3.521 GB, free: 52.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/6.07, allocations: 7.938 kB / 3.521 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/6.07, allocations: 20 kB / 3.521 GB, free: 52.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/6.07, allocations: 8 kB / 3.521 GB, free: 52.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/6.072, allocations: 0.5953 MB / 3.521 GB, free: 52.17 MB / 0.5261 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.002521/6.074, allocations: 2.626 MB / 3.524 GB, free: 49.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/6.075, allocations: 476.5 kB / 3.524 GB, free: 48.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/6.076, allocations: 188.8 kB / 3.525 GB, free: 48.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03531/6.111, allocations: 24.07 MB / 3.548 GB, free: 21.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/6.111, allocations: 30.56 kB / 3.548 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/6.111, allocations: 0 / 3.548 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002489/6.114, allocations: 0.8416 MB / 3.549 GB, free: 20.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/6.114, allocations: 110.8 kB / 3.549 GB, free: 20.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/6.114, allocations: 369.6 kB / 3.549 GB, free: 20.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/6.114, allocations: 33.7 kB / 3.549 GB, free: 20.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/6.114, allocations: 220.1 kB / 3.55 GB, free: 20.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/6.114, allocations: 98.67 kB / 3.55 GB, free: 19.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/6.114, allocations: 4 kB / 3.55 GB, free: 19.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.994e-05/6.114, allocations: 346.8 kB / 3.55 GB, free: 19.58 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/6.115, allocations: 155.9 kB / 3.55 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/6.115, allocations: 268.3 kB / 3.551 GB, free: 19.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006676/6.116, allocations: 406.7 kB / 3.551 GB, free: 18.69 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/6.116, allocations: 4 kB / 3.551 GB, free: 18.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008677/6.117, allocations: 486.9 kB / 3.551 GB, free: 18.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/6.117, allocations: 170.6 kB / 3.552 GB, free: 18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/6.117, allocations: 7.984 kB / 3.552 GB, free: 17.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/6.117, allocations: 4 kB / 3.552 GB, free: 17.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/6.117, allocations: 107.8 kB / 3.552 GB, free: 17.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/6.117, allocations: 12 kB / 3.552 GB, free: 17.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003867/6.118, allocations: 75.55 kB / 3.552 GB, free: 17.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/6.118, allocations: 19.98 kB / 3.552 GB, free: 17.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/6.118, allocations: 4 kB / 3.552 GB, free: 17.77 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007843/6.118, allocations: 427.8 kB / 3.552 GB, free: 17.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-06/6.118, allocations: 0 / 3.552 GB, free: 17.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/6.118, allocations: 8 kB / 3.552 GB, free: 17.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/6.119, allocations: 107.8 kB / 3.552 GB, free: 17.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/6.119, allocations: 7.938 kB / 3.552 GB, free: 17.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/6.119, allocations: 71.83 kB / 3.552 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/6.119, allocations: 19.94 kB / 3.552 GB, free: 17.14 MB / 0.5261 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.0001882/6.119, allocations: 241 kB / 3.553 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/6.119, allocations: 39.53 kB / 3.553 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/6.121, allocations: 1.98 MB / 3.555 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/6.121, allocations: 31.89 kB / 3.555 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/6.121, allocations: 4 kB / 3.555 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/6.121, allocations: 3.984 kB / 3.555 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007473/6.122, allocations: 1.04 MB / 3.556 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/6.122, allocations: 0 / 3.556 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/6.122, allocations: 87.88 kB / 3.556 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/6.122, allocations: 0 / 3.556 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/6.123, allocations: 15.98 kB / 3.556 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/6.123, allocations: 7.938 kB / 3.556 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/6.123, allocations: 0 / 3.556 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/6.124, allocations: 1.126 MB / 3.557 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/6.124, allocations: 259.4 kB / 3.557 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/6.124, allocations: 15.94 kB / 3.557 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/6.124, allocations: 47.83 kB / 3.557 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/6.124, allocations: 31.95 kB / 3.557 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/6.124, allocations: 16 kB / 3.557 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003255/6.125, allocations: 374.8 kB / 3.558 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/6.125, allocations: 0 / 3.558 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004664/6.129, allocations: 1.186 MB / 3.559 GB, free: 10.55 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: 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.005958/6.135, allocations: 1.477 MB / 3.56 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001593/6.137, allocations: 0.8624 MB / 3.561 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/6.137, allocations: 4.125 kB / 3.561 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005135/6.137, allocations: 0.5324 MB / 3.562 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/6.139, allocations: 226.3 kB / 3.562 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/6.141, allocations: 1.961 MB / 3.564 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/6.141, allocations: 0.9797 MB / 3.565 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006801/6.142, allocations: 0.5399 MB / 3.565 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/6.142, allocations: 47.42 kB / 3.565 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/6.142, allocations: 0 / 3.565 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of Templates: time 0.3242/6.466, allocations: 35.49 MB / 3.6 GB, free: 78.02 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestCheckValve/TestCheckValve.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches