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.002254/0.002254, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001096/0.001095, allocations: 90.64 kB / 267.5 MB, free: 14.11 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.2763/0.2763, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.428e-05/4.438e-05, allocations: 0 / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1172, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.871/7.989, allocations: 2.771 GB / 3.244 GB, free: 71.93 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/7.989, allocations: 81.8 kB / 3.244 GB, free: 71.89 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.249/9.237, allocations: 233.9 MB / 3.472 GB, free: 56.19 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.363e-06/9.238, allocations: 0 / 3.472 GB, free: 56.19 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.712e-05/9.238, allocations: 14.81 kB / 3.472 GB, free: 56.18 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.005554/9.243, allocations: 1.267 MB / 3.473 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/9.243, allocations: 8.031 kB / 3.473 GB, free: 54.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/9.246, allocations: 247.2 kB / 3.474 GB, free: 54.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009104/9.247, allocations: 408.2 kB / 3.474 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/9.247, allocations: 32.78 kB / 3.474 GB, free: 54.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.944e-05/9.247, allocations: 35.94 kB / 3.474 GB, free: 54.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/9.249, allocations: 0.6026 MB / 3.475 GB, free: 53.47 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/9.249, allocations: 4.281 kB / 3.475 GB, free: 53.47 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/9.249, allocations: 19.95 kB / 3.475 GB, free: 53.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/9.249, allocations: 12 kB / 3.475 GB, free: 53.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/9.251, allocations: 0.5174 MB / 3.475 GB, free: 52.92 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.005832/9.256, allocations: 2.625 MB / 3.478 GB, free: 50.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/9.259, allocations: 430.1 kB / 3.478 GB, free: 49.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/9.26, allocations: 140.8 kB / 3.478 GB, free: 49.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.111/9.371, allocations: 24.17 MB / 3.502 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/9.371, allocations: 30.56 kB / 3.502 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 4.849e-06/9.371, allocations: 0 / 3.502 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.004637/9.375, allocations: 0.649 MB / 3.503 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/9.376, allocations: 110.8 kB / 3.503 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007516/9.376, allocations: 323.5 kB / 3.503 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.617e-05/9.376, allocations: 29.7 kB / 3.503 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/9.377, allocations: 262.4 kB / 3.503 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/9.377, allocations: 86.83 kB / 3.503 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/9.377, allocations: 8 kB / 3.503 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/9.377, allocations: 326.8 kB / 3.504 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/9.377, allocations: 108 kB / 3.504 GB, free: 20.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/9.378, allocations: 207.7 kB / 3.504 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/9.379, allocations: 127.9 kB / 3.504 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/9.379, allocations: 0 / 3.504 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001249/9.38, allocations: 359 kB / 3.504 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002021/9.38, allocations: 1.051 MB / 3.505 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/9.38, allocations: 4 kB / 3.505 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/9.38, allocations: 4 kB / 3.505 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000801/9.381, allocations: 107.9 kB / 3.506 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/9.381, allocations: 8 kB / 3.506 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007605/9.382, allocations: 67.64 kB / 3.506 GB, free: 18.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/9.382, allocations: 27.94 kB / 3.506 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/9.382, allocations: 4 kB / 3.506 GB, free: 18.37 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007686/9.383, allocations: 311.6 kB / 3.506 GB, free: 18.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/9.383, allocations: 3.984 kB / 3.506 GB, free: 18.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/9.383, allocations: 4 kB / 3.506 GB, free: 18.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007396/9.383, allocations: 112.2 kB / 3.506 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/9.383, allocations: 4 kB / 3.506 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/9.384, allocations: 67.7 kB / 3.506 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/9.384, allocations: 16 kB / 3.506 GB, free: 17.86 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 0.0001346/9.384, allocations: 121.4 kB / 3.506 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/9.384, allocations: 43.47 kB / 3.506 GB, free: 17.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/9.387, allocations: 1.924 MB / 3.508 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/9.387, allocations: 27.95 kB / 3.508 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/9.387, allocations: 0 / 3.508 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/9.387, allocations: 3.984 kB / 3.508 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/9.388, allocations: 1.035 MB / 3.509 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/9.388, allocations: 4 kB / 3.509 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/9.389, allocations: 95.86 kB / 3.509 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/9.389, allocations: 0 / 3.509 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/9.389, allocations: 11.95 kB / 3.509 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/9.389, allocations: 0 / 3.509 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/9.389, allocations: 0 / 3.509 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/9.39, allocations: 1.032 MB / 3.51 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/9.391, allocations: 267.4 kB / 3.511 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/9.391, allocations: 7.938 kB / 3.511 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/9.392, allocations: 51.86 kB / 3.511 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/9.392, allocations: 35.94 kB / 3.511 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/9.392, allocations: 12 kB / 3.511 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005388/9.392, allocations: 357.6 kB / 3.511 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/9.392, allocations: 0 / 3.511 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005454/9.398, allocations: 1.19 MB / 3.512 GB, free: 11.55 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.009264/9.407, allocations: 1.475 MB / 3.514 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001522/9.409, allocations: 0.7173 MB / 3.514 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/9.409, allocations: 0 / 3.514 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006292/9.409, allocations: 489.8 kB / 3.515 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/9.411, allocations: 221.7 kB / 3.515 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/9.413, allocations: 1.222 MB / 3.516 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/9.414, allocations: 0.9953 MB / 3.517 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/9.414, allocations: 51.42 kB / 3.517 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/9.414, allocations: 0 / 3.517 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of Templates: time 0.4132/9.827, allocations: 27.94 MB / 3.545 GB, free: 83.77 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