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.001246/0.001246, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.318/1.318, allocations: 223.2 MB / 241 MB, free: 10.13 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.0009896/0.0009895, allocations: 89.3 kB / 292.1 MB, free: 10.71 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.4184/0.4184, allocations: 44.22 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003432, allocations: 8 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4553, allocations: 61.9 MB / 0.5096 GB, free: 37.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.928/7.384, allocations: 2.776 GB / 3.286 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/7.384, allocations: 93.58 kB / 3.286 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7508/8.135, allocations: 237.1 MB / 3.517 GB, free: 78.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.494e-06/8.135, allocations: 2.906 kB / 3.517 GB, free: 78.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.41e-05/8.135, allocations: 7.938 kB / 3.517 GB, free: 78.27 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.006364/8.141, allocations: 1.323 MB / 3.519 GB, free: 77.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/8.141, allocations: 9.25 kB / 3.519 GB, free: 77.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/8.144, allocations: 248.6 kB / 3.519 GB, free: 77.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009429/8.144, allocations: 421 kB / 3.519 GB, free: 77.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/8.145, allocations: 24.66 kB / 3.519 GB, free: 77.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.801e-05/8.145, allocations: 33.22 kB / 3.519 GB, free: 77.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/8.146, allocations: 0.6221 MB / 3.52 GB, free: 77.26 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/8.146, allocations: 5.156 kB / 3.52 GB, free: 77.26 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/8.146, allocations: 14.62 kB / 3.52 GB, free: 77.26 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/8.146, allocations: 11.91 kB / 3.52 GB, free: 77.26 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/8.148, allocations: 0.5991 MB / 3.521 GB, free: 77.25 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.003436/8.152, allocations: 2.614 MB / 3.523 GB, free: 75.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/8.153, allocations: 468.2 kB / 3.524 GB, free: 75.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04301/8.196, allocations: 24.08 MB / 3.547 GB, free: 60.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/8.196, allocations: 35.69 kB / 3.547 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 2.325e-06/8.196, allocations: 1 kB / 3.547 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.003304/8.2, allocations: 0.8332 MB / 3.548 GB, free: 60.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/8.2, allocations: 106.9 kB / 3.548 GB, free: 60.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/8.2, allocations: 328.8 kB / 3.548 GB, free: 60.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/8.2, allocations: 31.42 kB / 3.548 GB, free: 60.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/8.2, allocations: 224.4 kB / 3.549 GB, free: 60.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.836e-05/8.201, allocations: 89.25 kB / 3.549 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/8.201, allocations: 7.031 kB / 3.549 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.88e-05/8.201, allocations: 345.1 kB / 3.549 GB, free: 59.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/8.201, allocations: 164.1 kB / 3.549 GB, free: 59.94 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/8.202, allocations: 263.2 kB / 3.549 GB, free: 59.83 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/8.202, allocations: 185.4 kB / 3.55 GB, free: 59.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/8.202, allocations: 0 / 3.55 GB, free: 59.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001074/8.203, allocations: 489.9 kB / 3.55 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000286/8.203, allocations: 1.054 MB / 3.551 GB, free: 58.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/8.203, allocations: 3.156 kB / 3.551 GB, free: 58.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/8.204, allocations: 4.5 kB / 3.551 GB, free: 58.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/8.204, allocations: 115 kB / 3.551 GB, free: 58.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/8.204, allocations: 3.062 kB / 3.551 GB, free: 58.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000579/8.205, allocations: 79 kB / 3.551 GB, free: 58.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/8.205, allocations: 15.44 kB / 3.551 GB, free: 58.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/8.205, allocations: 3.75 kB / 3.551 GB, free: 58.67 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009563/8.206, allocations: 423.5 kB / 3.552 GB, free: 58.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/8.206, allocations: 3.938 kB / 3.552 GB, free: 58.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.582e-06/8.206, allocations: 3.688 kB / 3.552 GB, free: 58.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/8.206, allocations: 107.7 kB / 3.552 GB, free: 58.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/8.206, allocations: 8.688 kB / 3.552 GB, free: 58.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/8.207, allocations: 72.12 kB / 3.552 GB, free: 58.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/8.207, allocations: 17.97 kB / 3.552 GB, free: 58.65 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.0002662/8.207, allocations: 238.4 kB / 3.552 GB, free: 58.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-05/8.207, allocations: 38.16 kB / 3.552 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/8.209, allocations: 1.982 MB / 3.554 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/8.209, allocations: 26.73 kB / 3.554 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/8.209, allocations: 1.688 kB / 3.554 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/8.209, allocations: 10.92 kB / 3.554 GB, free: 58.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/8.211, allocations: 1.046 MB / 3.555 GB, free: 57.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/8.211, allocations: 3.812 kB / 3.555 GB, free: 57.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/8.211, allocations: 84.91 kB / 3.555 GB, free: 57.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/8.211, allocations: 11.58 kB / 3.555 GB, free: 57.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/8.211, allocations: 7.062 kB / 3.555 GB, free: 57.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/8.211, allocations: 0 / 3.555 GB, free: 57.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/8.211, allocations: 0 / 3.555 GB, free: 57.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/8.212, allocations: 1.123 MB / 3.556 GB, free: 57.72 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/8.213, allocations: 267.9 kB / 3.557 GB, free: 57.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.663e-05/8.213, allocations: 6.469 kB / 3.557 GB, free: 57.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/8.213, allocations: 57.42 kB / 3.557 GB, free: 57.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/8.213, allocations: 31.98 kB / 3.557 GB, free: 57.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/8.213, allocations: 18.25 kB / 3.557 GB, free: 57.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004494/8.214, allocations: 369.9 kB / 3.557 GB, free: 57.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/8.214, allocations: 0 / 3.557 GB, free: 57.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00652/8.22, allocations: 1.199 MB / 3.558 GB, free: 57.27 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.00883/8.229, allocations: 1.486 MB / 3.56 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001843/8.231, allocations: 0.8605 MB / 3.561 GB, free: 56.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/8.231, allocations: 3.844 kB / 3.561 GB, free: 56.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006042/8.232, allocations: 0.5322 MB / 3.561 GB, free: 56.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/8.233, allocations: 219.8 kB / 3.561 GB, free: 56.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/8.236, allocations: 1.953 MB / 3.563 GB, free: 56.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/8.236, allocations: 0.9972 MB / 3.564 GB, free: 55.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009604/8.237, allocations: 0.5401 MB / 3.565 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/8.237, allocations: 48.92 kB / 3.565 GB, free: 55.35 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/8.237, allocations: 0 / 3.565 GB, free: 55.35 MB / 0.5261 GB Notification: Performance of Templates: time 0.04707/8.284, allocations: 33.18 MB / 3.597 GB, free: 53.87 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/jenkins/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