Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008476/0.0008476, allocations: 94.02 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.7 MB / 247.5 MB, free: 9.332 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1997/0.1997, allocations: 46.19 MB / 345.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002926, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1138, allocations: 63.56 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.03253/0.1464, allocations: 28.96 MB / 0.5007 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2605/0.407, allocations: 18.04 MB / 0.5183 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008358/0.4079, allocations: 13.91 kB / 0.5183 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009811/0.4089, allocations: 221.3 kB / 0.5185 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01259/0.4215, allocations: 3.066 MB / 0.5215 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008256/0.4297, allocations: 2.218 MB / 0.5237 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.4319, allocations: 1.243 MB / 0.5249 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006138/0.4325, allocations: 252.3 kB / 0.5251 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.4338, allocations: 423.1 kB / 0.5255 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006495/0.4345, allocations: 310.6 kB / 0.5258 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.4346, allocations: 18.34 kB / 0.5259 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0185/0.4531, allocations: 7.297 MB / 0.533 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.4534, allocations: 97.11 kB / 0.5331 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005786/0.454, allocations: 267.6 kB / 0.5333 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007696/0.4617, allocations: 3.113 MB / 0.5364 GB, free: 7.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4617, allocations: 2.906 kB / 0.5364 GB, free: 7.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4618, allocations: 0 / 0.5364 GB, free: 7.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.922e-05/0.4618, allocations: 4 kB / 0.5364 GB, free: 7.359 MB / 382.1 MB 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.004848/0.4667, allocations: 1.261 MB / 0.5376 GB, free: 6.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4667, allocations: 13.16 kB / 0.5376 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.4687, allocations: 243.6 kB / 0.5378 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006576/0.4694, allocations: 388.9 kB / 0.5382 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.4694, allocations: 37.44 kB / 0.5383 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.746e-05/0.4695, allocations: 29.47 kB / 0.5383 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.4714, allocations: 0.6781 MB / 0.5389 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.4714, allocations: 3.938 kB / 0.5389 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.4714, allocations: 23.16 kB / 0.539 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.4715, allocations: 9.156 kB / 0.539 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.4734, allocations: 0.6504 MB / 0.5396 GB, free: 5.25 MB / 382.1 MB 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.003168/0.4766, allocations: 2.853 MB / 0.5424 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.4784, allocations: 0.5351 MB / 0.5429 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005636/0.479, allocations: 213.7 kB / 0.5431 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05365/0.5327, allocations: 27.1 MB / 0.5696 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/0.5327, allocations: 42.55 kB / 0.5696 GB, free: 5.445 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 2.925e-06/0.5328, allocations: 0 / 0.5696 GB, free: 5.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.003646/0.5364, allocations: 0.9009 MB / 0.5705 GB, free: 4.539 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.5365, allocations: 102.8 kB / 0.5706 GB, free: 4.414 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/0.5371, allocations: 385.5 kB / 0.571 GB, free: 4.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.5371, allocations: 29.7 kB / 0.571 GB, free: 3.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.5373, allocations: 228.1 kB / 0.5712 GB, free: 3.766 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.5374, allocations: 98.19 kB / 0.5713 GB, free: 3.672 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.5375, allocations: 33.7 kB / 0.5714 GB, free: 3.633 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5376, allocations: 354.7 kB / 0.5717 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006144/0.5383, allocations: 180.5 kB / 0.5719 GB, free: 3.102 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006746/0.539, allocations: 289.2 kB / 0.5721 GB, free: 2.777 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.5402, allocations: 440.8 kB / 0.5726 GB, free: 2.312 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.5402, allocations: 0 / 0.5726 GB, free: 2.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001562/0.5418, allocations: 0.5202 MB / 0.5731 GB, free: 1.785 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.5419, allocations: 162.7 kB / 0.5732 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.5419, allocations: 0 / 0.5732 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.542, allocations: 7.938 kB / 0.5732 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/0.5425, allocations: 115.8 kB / 0.5733 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.5425, allocations: 15.92 kB / 0.5734 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.5431, allocations: 89.02 kB / 0.5734 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.5431, allocations: 19.98 kB / 0.5735 GB, free: 1.344 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.5431, allocations: 4 kB / 0.5735 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001353/0.5445, allocations: 455.5 kB / 0.5739 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5445, allocations: 0 / 0.5739 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.5445, allocations: 8 kB / 0.5739 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.545, allocations: 112.1 kB / 0.574 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.545, allocations: 8.703 kB / 0.574 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.5455, allocations: 79.55 kB / 0.5741 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.5456, allocations: 19.98 kB / 0.5741 GB, free: 0.6719 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002747/0.5459, allocations: 245.5 kB / 0.5744 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.546, allocations: 39.53 kB / 0.5744 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003029/0.549, allocations: 1.994 MB / 0.5763 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.474e-05/0.5491, allocations: 35.94 kB / 0.5764 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5491, allocations: 3.984 kB / 0.5764 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.5491, allocations: 4 kB / 0.5764 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.5503, allocations: 1.045 MB / 0.5774 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.5503, allocations: 8 kB / 0.5774 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/0.5508, allocations: 99.86 kB / 0.5775 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.5508, allocations: 0 / 0.5775 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.5508, allocations: 12 kB / 0.5775 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.5508, allocations: 0 / 0.5775 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5509, allocations: 4 kB / 0.5775 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.5528, allocations: 1.169 MB / 0.5787 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/0.5531, allocations: 267.3 kB / 0.5789 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.361e-05/0.5532, allocations: 4 kB / 0.5789 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004825/0.5537, allocations: 63.88 kB / 0.579 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.5538, allocations: 35.89 kB / 0.579 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.5538, allocations: 12 kB / 0.579 GB, free: 11.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004808/0.5543, allocations: 386.8 kB / 0.5794 GB, free: 11.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5543, allocations: 0 / 0.5794 GB, free: 11.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004079/0.5584, allocations: 1.132 MB / 0.5805 GB, free: 10.05 MB / 430.1 MB 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,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006379/0.5648, allocations: 1.225 MB / 0.5817 GB, free: 8.922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00249/0.5673, allocations: 0.9135 MB / 0.5826 GB, free: 8.008 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5674, allocations: 0 / 0.5826 GB, free: 8.008 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009346/0.5683, allocations: 0.5562 MB / 0.5831 GB, free: 7.453 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.5698, allocations: 226 kB / 0.5833 GB, free: 7.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.5728, allocations: 2.04 MB / 0.5853 GB, free: 5.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.5733, allocations: 0.9873 MB / 0.5863 GB, free: 4.137 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.5735, allocations: 47.42 kB / 0.5863 GB, free: 4.09 MB / 430.1 MB Notification: Performance of SimCode: time 2.064e-06/0.5735, allocations: 0 / 0.5863 GB, free: 4.09 MB / 430.1 MB Notification: Performance of Templates: time 0.04012/0.6136, allocations: 25.35 MB / 0.6111 GB, free: 10.76 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveVaporizing/TestValveVaporizing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches