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.001011/0.001011, allocations: 183.1 kB / 13.19 MB, free: 2.129 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.157/1.157, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007684/0.0007685, allocations: 92.52 kB / 267.1 MB, free: 9.273 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.3007/0.3007, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.738e-05/2.741e-05, allocations: 8 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 58.85 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.432/5.533, allocations: 2.771 GB / 3.244 GB, free: 56.77 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/5.533, allocations: 83.77 kB / 3.244 GB, free: 56.73 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.696/6.229, allocations: 233.9 MB / 3.472 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.643e-06/6.229, allocations: 4 kB / 3.472 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.859e-05/6.229, allocations: 12 kB / 3.472 GB, free: 42.29 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.005395/6.234, allocations: 1.274 MB / 3.473 GB, free: 40.97 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/6.234, allocations: 8.031 kB / 3.473 GB, free: 40.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/6.236, allocations: 243.2 kB / 3.474 GB, free: 40.72 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006675/6.237, allocations: 409.7 kB / 3.474 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/6.237, allocations: 32.77 kB / 3.474 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/6.237, allocations: 32 kB / 3.474 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/6.238, allocations: 0.6031 MB / 3.475 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/6.238, allocations: 352 / 3.475 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/6.238, allocations: 15.95 kB / 3.475 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/6.238, allocations: 15.92 kB / 3.475 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/6.239, allocations: 0.5174 MB / 3.475 GB, free: 39.04 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.002586/6.242, allocations: 2.625 MB / 3.478 GB, free: 36.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009925/6.243, allocations: 426.1 kB / 3.478 GB, free: 35.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/6.243, allocations: 152.8 kB / 3.478 GB, free: 35.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03787/6.281, allocations: 24.16 MB / 3.502 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/6.281, allocations: 34.56 kB / 3.502 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 2.595e-06/6.281, allocations: 4 kB / 3.502 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.002287/6.283, allocations: 0.6529 MB / 3.503 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/6.283, allocations: 106.8 kB / 3.503 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/6.284, allocations: 319.5 kB / 3.503 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/6.284, allocations: 29.7 kB / 3.503 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/6.284, allocations: 219.9 kB / 3.503 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/6.284, allocations: 82.83 kB / 3.503 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/6.284, allocations: 8 kB / 3.503 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001048/6.284, allocations: 350.8 kB / 3.504 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/6.284, allocations: 108 kB / 3.504 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/6.285, allocations: 203.7 kB / 3.504 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/6.285, allocations: 124.8 kB / 3.504 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/6.285, allocations: 4 kB / 3.504 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005436/6.286, allocations: 382.7 kB / 3.504 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000269/6.286, allocations: 1.051 MB / 3.505 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/6.286, allocations: 0 / 3.505 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/6.286, allocations: 4 kB / 3.506 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/6.286, allocations: 111.8 kB / 3.506 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/6.286, allocations: 11.92 kB / 3.506 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/6.287, allocations: 79.48 kB / 3.506 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/6.287, allocations: 23.94 kB / 3.506 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/6.287, allocations: 4.625 kB / 3.506 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004192/6.287, allocations: 311.6 kB / 3.506 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-06/6.287, allocations: 0 / 3.506 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/6.287, allocations: 8 kB / 3.506 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/6.288, allocations: 116.1 kB / 3.506 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/6.288, allocations: 4 kB / 3.506 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/6.288, allocations: 63.7 kB / 3.506 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/6.288, allocations: 16 kB / 3.506 GB, free: 3.961 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 () * 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 8.324e-05/6.288, allocations: 125.3 kB / 3.506 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/6.288, allocations: 43.48 kB / 3.506 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/6.29, allocations: 1.922 MB / 3.508 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/6.29, allocations: 27.95 kB / 3.508 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/6.29, allocations: 0 / 3.508 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/6.29, allocations: 3.984 kB / 3.508 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007498/6.29, allocations: 1.039 MB / 3.509 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/6.29, allocations: 0 / 3.509 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/6.291, allocations: 91.86 kB / 3.509 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/6.291, allocations: 0 / 3.509 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/6.291, allocations: 15.95 kB / 3.509 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/6.291, allocations: 4 kB / 3.509 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/6.291, allocations: 3.938 kB / 3.509 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3184/6.609, allocations: 1.017 MB / 3.51 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/6.61, allocations: 270.2 kB / 3.511 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/6.61, allocations: 8.359 kB / 3.511 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/6.61, allocations: 49.14 kB / 3.511 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/6.61, allocations: 32.2 kB / 3.511 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/6.61, allocations: 15.34 kB / 3.511 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005008/6.611, allocations: 362 kB / 3.511 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.21e-07/6.611, allocations: 0 / 3.511 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006612/6.618, allocations: 1.191 MB / 3.512 GB, free: 77.01 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 () * 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.00802/6.626, allocations: 1.467 MB / 3.514 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001445/6.627, allocations: 0.7267 MB / 3.514 GB, free: 76.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/6.627, allocations: 1.188 kB / 3.514 GB, free: 76.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005792/6.628, allocations: 491.8 kB / 3.515 GB, free: 76.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/6.629, allocations: 223.5 kB / 3.515 GB, free: 76.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/6.631, allocations: 1.189 MB / 3.516 GB, free: 76.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/6.631, allocations: 1 MB / 3.517 GB, free: 75.94 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001031/6.632, allocations: 0.557 MB / 3.518 GB, free: 75.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/6.632, allocations: 43.75 kB / 3.518 GB, free: 75.93 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/6.632, allocations: 0 / 3.518 GB, free: 75.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.04635/6.679, allocations: 34.98 MB / 3.552 GB, free: 75.51 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