Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.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.TestValveVaporizing,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|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,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|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001723, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.358/1.358, allocations: 221.3 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008935, allocations: 99.73 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1975/0.1975, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.599e-05/2.602e-05, allocations: 0 / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1301, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.027/6.157, allocations: 2.806 GB / 3.307 GB, free: 65.91 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/6.157, allocations: 85.62 kB / 3.307 GB, free: 65.86 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7676/6.925, allocations: 239.4 MB / 3.541 GB, free: 45.19 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.522e-06/6.925, allocations: 0 / 3.541 GB, free: 45.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.849e-05/6.925, allocations: 16 kB / 3.541 GB, free: 45.18 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00541/6.93, allocations: 1.309 MB / 3.542 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/6.93, allocations: 8.031 kB / 3.542 GB, free: 43.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/6.932, allocations: 256.1 kB / 3.543 GB, free: 43.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006596/6.933, allocations: 420.2 kB / 3.543 GB, free: 43.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/6.933, allocations: 28.78 kB / 3.543 GB, free: 43.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/6.933, allocations: 32 kB / 3.543 GB, free: 43.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/6.934, allocations: 0.6358 MB / 3.544 GB, free: 42.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/6.934, allocations: 0 / 3.544 GB, free: 42.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/6.934, allocations: 12 kB / 3.544 GB, free: 42.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/6.934, allocations: 8 kB / 3.544 GB, free: 42.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/6.935, allocations: 0.5377 MB / 3.544 GB, free: 41.81 MB / 0.5261 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.002687/6.938, allocations: 2.842 MB / 3.547 GB, free: 38.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/6.939, allocations: 454.5 kB / 3.547 GB, free: 38.26 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/6.939, allocations: 140.8 kB / 3.548 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04012/6.98, allocations: 24.29 MB / 3.571 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/6.98, allocations: 36.91 kB / 3.571 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 2.945e-06/6.98, allocations: 0 / 3.571 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.00196/6.982, allocations: 0.6579 MB / 3.572 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/6.982, allocations: 102.8 kB / 3.572 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/6.982, allocations: 326.9 kB / 3.572 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/6.982, allocations: 29.64 kB / 3.572 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/6.982, allocations: 219.9 kB / 3.573 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/6.982, allocations: 94.59 kB / 3.573 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/6.982, allocations: 12 kB / 3.573 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.146e-05/6.982, allocations: 354.7 kB / 3.573 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/6.983, allocations: 100.6 kB / 3.573 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/6.983, allocations: 214.1 kB / 3.573 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/6.983, allocations: 123.4 kB / 3.574 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/6.983, allocations: 4 kB / 3.574 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004865/6.983, allocations: 364.9 kB / 3.574 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001828/6.984, allocations: 1.056 MB / 3.575 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/6.984, allocations: 7.984 kB / 3.575 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/6.984, allocations: 4 kB / 3.575 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/6.984, allocations: 115.8 kB / 3.575 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/6.984, allocations: 4 kB / 3.575 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/6.985, allocations: 91.53 kB / 3.575 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/6.985, allocations: 16 kB / 3.575 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.753e-06/6.985, allocations: 4 kB / 3.575 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004095/6.985, allocations: 312 kB / 3.575 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/6.985, allocations: 4 kB / 3.575 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-06/6.985, allocations: 4 kB / 3.575 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/6.985, allocations: 111.8 kB / 3.576 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/6.985, allocations: 8.156 kB / 3.576 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/6.986, allocations: 83.62 kB / 3.576 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/6.986, allocations: 20 kB / 3.576 GB, free: 6.301 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 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.646e-05/6.986, allocations: 116.9 kB / 3.576 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/6.986, allocations: 43.47 kB / 3.576 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/6.988, allocations: 1.902 MB / 3.578 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/6.988, allocations: 35.95 kB / 3.578 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/6.988, allocations: 4 kB / 3.578 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/6.988, allocations: 3.984 kB / 3.578 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008651/6.989, allocations: 1.039 MB / 3.579 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/6.989, allocations: 0 / 3.579 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/6.989, allocations: 103.9 kB / 3.579 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/6.989, allocations: 0 / 3.579 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/6.989, allocations: 11.98 kB / 3.579 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/6.989, allocations: 7.953 kB / 3.579 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/6.989, allocations: 4 kB / 3.579 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009426/6.99, allocations: 1.02 MB / 3.58 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/6.99, allocations: 259.4 kB / 3.58 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/6.99, allocations: 11.98 kB / 3.58 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/6.991, allocations: 59.86 kB / 3.58 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/6.991, allocations: 39.91 kB / 3.58 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/6.991, allocations: 11.98 kB / 3.58 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003167/6.991, allocations: 361.6 kB / 3.581 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/6.991, allocations: 0 / 3.581 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005874/6.997, allocations: 1.175 MB / 3.582 GB, free: 4 kB / 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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.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.353/7.35, allocations: 1.412 MB / 3.583 GB, free: 87.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001433/7.352, allocations: 0.7078 MB / 3.584 GB, free: 87.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/7.352, allocations: 2.906 kB / 3.584 GB, free: 87.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005295/7.352, allocations: 495.8 kB / 3.584 GB, free: 87.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/7.353, allocations: 218.6 kB / 3.584 GB, free: 87.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/7.355, allocations: 1.195 MB / 3.586 GB, free: 87.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/7.356, allocations: 0.9979 MB / 3.587 GB, free: 86.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001186/7.357, allocations: 0.558 MB / 3.587 GB, free: 86.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/7.357, allocations: 43.44 kB / 3.587 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of SimCode: time 2.294e-06/7.357, allocations: 0 / 3.587 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.05254/7.41, allocations: 34.79 MB / 3.621 GB, free: 85.86 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveVaporizing/TestValveVaporizing.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches