Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 183.5 kB / 15.76 MB, free: 6.367 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.653/1.653, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008599/0.0008599, allocations: 90.86 kB / 270.2 MB, free: 13.37 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.2115/0.2115, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1278, allocations: 58.85 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.863/6.991, allocations: 2.8 GB / 3.279 GB, free: 38.22 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/6.991, allocations: 87.2 kB / 3.279 GB, free: 38.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7276/7.719, allocations: 237.7 MB / 3.511 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/7.719, allocations: 0 / 3.511 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.911e-05/7.719, allocations: 8 kB / 3.511 GB, free: 19.11 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.006509/7.726, allocations: 1.352 MB / 3.513 GB, free: 17.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/7.726, allocations: 8.031 kB / 3.513 GB, free: 17.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/7.728, allocations: 267.1 kB / 3.513 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008679/7.729, allocations: 407.7 kB / 3.513 GB, free: 16.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/7.729, allocations: 32.94 kB / 3.513 GB, free: 16.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.994e-05/7.729, allocations: 32 kB / 3.513 GB, free: 16.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/7.731, allocations: 0.6739 MB / 3.514 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/7.731, allocations: 3.938 kB / 3.514 GB, free: 16.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/7.731, allocations: 23.95 kB / 3.514 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/7.731, allocations: 8 kB / 3.514 GB, free: 16.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/7.733, allocations: 0.6503 MB / 3.515 GB, free: 15.52 MB / 0.5105 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.003218/7.736, allocations: 2.844 MB / 3.517 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/7.738, allocations: 0.518 MB / 3.518 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2851/8.023, allocations: 24.19 MB / 3.542 GB, free: 74.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/8.023, allocations: 36.73 kB / 3.542 GB, free: 74.74 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 4.849e-06/8.023, allocations: 0.6562 kB / 3.542 GB, free: 74.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.003878/8.027, allocations: 0.9009 MB / 3.542 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/8.027, allocations: 110.4 kB / 3.543 GB, free: 74.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006287/8.027, allocations: 333.4 kB / 3.543 GB, free: 74.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/8.028, allocations: 31.61 kB / 3.543 GB, free: 74.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/8.028, allocations: 225.4 kB / 3.543 GB, free: 74.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/8.028, allocations: 96.16 kB / 3.543 GB, free: 74.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/8.028, allocations: 5.906 kB / 3.543 GB, free: 74.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001104/8.028, allocations: 351.9 kB / 3.544 GB, free: 73.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006489/8.029, allocations: 179.5 kB / 3.544 GB, free: 73.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007095/8.029, allocations: 286.5 kB / 3.544 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007479/8.03, allocations: 197.7 kB / 3.544 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/8.03, allocations: 3.938 kB / 3.544 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001729/8.032, allocations: 0.5174 MB / 3.545 GB, free: 73.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002252/8.032, allocations: 1.049 MB / 3.546 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/8.032, allocations: 9.266 kB / 3.546 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/8.032, allocations: 5.5 kB / 3.546 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/8.033, allocations: 111.9 kB / 3.546 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/8.033, allocations: 5.422 kB / 3.546 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006458/8.033, allocations: 88.47 kB / 3.546 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/8.034, allocations: 18.62 kB / 3.546 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/8.034, allocations: 3.656 kB / 3.546 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001371/8.035, allocations: 457.5 kB / 3.546 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/8.035, allocations: 2.891 kB / 3.546 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/8.035, allocations: 5.438 kB / 3.546 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/8.035, allocations: 114.3 kB / 3.547 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/8.035, allocations: 10.03 kB / 3.547 GB, free: 72.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/8.036, allocations: 82.56 kB / 3.547 GB, free: 72.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/8.036, allocations: 17.31 kB / 3.547 GB, free: 72.68 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 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked 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 0.0003383/8.036, allocations: 244.3 kB / 3.547 GB, free: 72.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/8.037, allocations: 42.38 kB / 3.547 GB, free: 72.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/8.04, allocations: 2.001 MB / 3.549 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.411e-05/8.04, allocations: 29.44 kB / 3.549 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/8.04, allocations: 3.953 kB / 3.549 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/8.04, allocations: 5.297 kB / 3.549 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/8.041, allocations: 1.046 MB / 3.55 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/8.041, allocations: 0.5 kB / 3.55 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/8.042, allocations: 98.59 kB / 3.55 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/8.042, allocations: 5.391 kB / 3.55 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/8.042, allocations: 13.14 kB / 3.55 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/8.042, allocations: 1.859 kB / 3.55 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/8.042, allocations: 0 / 3.55 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/8.044, allocations: 1.168 MB / 3.551 GB, free: 71.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/8.044, allocations: 269.6 kB / 3.551 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/8.044, allocations: 8.688 kB / 3.551 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/8.045, allocations: 52.73 kB / 3.551 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/8.045, allocations: 33.59 kB / 3.552 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/8.045, allocations: 12.19 kB / 3.552 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004535/8.045, allocations: 373.9 kB / 3.552 GB, free: 71.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/8.045, allocations: 0 / 3.552 GB, free: 71.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005004/8.05, allocations: 1.171 MB / 3.553 GB, free: 71.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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.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.007106/8.057, allocations: 1.427 MB / 3.554 GB, free: 71.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002218/8.06, allocations: 0.9091 MB / 3.555 GB, free: 71.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/8.06, allocations: 4.094 kB / 3.555 GB, free: 71.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008266/8.061, allocations: 0.5533 MB / 3.556 GB, free: 71.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/8.062, allocations: 230.1 kB / 3.556 GB, free: 71.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/8.064, allocations: 1.984 MB / 3.558 GB, free: 70.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/8.065, allocations: 1 MB / 3.559 GB, free: 69.83 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007859/8.065, allocations: 0.5434 MB / 3.56 GB, free: 69.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/8.065, allocations: 47.27 kB / 3.56 GB, free: 69.81 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/8.065, allocations: 0 / 3.56 GB, free: 69.81 MB / 0.5105 GB Notification: Performance of Templates: time 0.04293/8.108, allocations: 32.9 MB / 3.592 GB, free: 68.96 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveVaporizing/TestValveVaporizing.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches