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.0009027/0.0009027, allocations: 94.19 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009547/0.0009549, allocations: 207.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 45.92 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002977, allocations: 8 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.121, allocations: 63.45 MB / 481.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.02689/0.148, allocations: 24.32 MB / 0.4938 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2852/0.4332, allocations: 14.79 MB / 0.5083 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006866/0.4339, allocations: 11.59 kB / 0.5083 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009504/0.4349, allocations: 260.2 kB / 0.5086 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.4452, allocations: 2.979 MB / 0.5115 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01177/0.457, allocations: 3.102 MB / 0.5145 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001808/0.4588, allocations: 0.6178 MB / 0.5151 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005533/0.4593, allocations: 232.1 kB / 0.5153 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.4604, allocations: 438.6 kB / 0.5157 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004121/0.4609, allocations: 231.7 kB / 0.516 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.633e-05/0.4609, allocations: 17.91 kB / 0.516 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01969/0.4806, allocations: 7.181 MB / 0.523 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.481, allocations: 92.25 kB / 0.5231 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.4813, allocations: 115.8 kB / 0.5232 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008499/0.4899, allocations: 3.08 MB / 0.5262 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4899, allocations: 0 / 0.5262 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4899, allocations: 0 / 0.5262 GB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.4899, allocations: 0 / 0.5262 GB, free: 10.09 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.004631/0.4945, allocations: 1.271 MB / 0.5274 GB, free: 9.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4946, allocations: 9.625 kB / 0.5274 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.4964, allocations: 240.2 kB / 0.5277 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.497, allocations: 380 kB / 0.528 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.497, allocations: 28.56 kB / 0.5281 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.4971, allocations: 34.33 kB / 0.5281 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.4988, allocations: 0.676 MB / 0.5288 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4988, allocations: 1.562 kB / 0.5288 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.4988, allocations: 15.5 kB / 0.5288 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.4989, allocations: 10.66 kB / 0.5288 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.5008, allocations: 0.6568 MB / 0.5294 GB, free: 8.445 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.00306/0.5039, allocations: 2.848 MB / 0.5322 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.5056, allocations: 0.5269 MB / 0.5327 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05257/0.5582, allocations: 27.11 MB / 0.5592 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.833e-05/0.5583, allocations: 41.8 kB / 0.5592 GB, free: 12.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.934e-06/0.5583, allocations: 1.859 kB / 0.5592 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.003398/0.5617, allocations: 0.8916 MB / 0.5601 GB, free: 11.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.5618, allocations: 109.5 kB / 0.5602 GB, free: 11.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.5623, allocations: 379.5 kB / 0.5606 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.5623, allocations: 31.77 kB / 0.5606 GB, free: 11.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.5625, allocations: 227 kB / 0.5608 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/0.5625, allocations: 96.27 kB / 0.5609 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.5626, allocations: 11.25 kB / 0.5609 GB, free: 10.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5627, allocations: 350 kB / 0.5613 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005623/0.5633, allocations: 174.7 kB / 0.5614 GB, free: 10.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.5639, allocations: 281.3 kB / 0.5617 GB, free: 10.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000574/0.5645, allocations: 196.5 kB / 0.5619 GB, free: 10.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5645, allocations: 0 / 0.5619 GB, free: 10.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001365/0.5658, allocations: 0.5172 MB / 0.5624 GB, free: 9.676 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003733/0.5662, allocations: 1.049 MB / 0.5634 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.5662, allocations: 4 kB / 0.5634 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.5663, allocations: 4.875 kB / 0.5634 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004716/0.5667, allocations: 114.6 kB / 0.5635 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.5668, allocations: 7.188 kB / 0.5635 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005436/0.5673, allocations: 86.83 kB / 0.5636 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.5674, allocations: 23.94 kB / 0.5636 GB, free: 8.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.044e-06/0.5674, allocations: 4 kB / 0.5636 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001238/0.5686, allocations: 448.9 kB / 0.5641 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.5686, allocations: 4 kB / 0.5641 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.5687, allocations: 5.062 kB / 0.5641 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.5691, allocations: 117.6 kB / 0.5642 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.5691, allocations: 4 kB / 0.5642 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.5695, allocations: 86.44 kB / 0.5643 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.5696, allocations: 16.69 kB / 0.5643 GB, free: 7.82 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 (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.0002242/0.5698, allocations: 241.7 kB / 0.5645 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.467e-05/0.5699, allocations: 51.33 kB / 0.5646 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/0.5725, allocations: 1.997 MB / 0.5665 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/0.5726, allocations: 30.7 kB / 0.5666 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5726, allocations: 0 / 0.5666 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.5726, allocations: 0 / 0.5666 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009559/0.5735, allocations: 1.045 MB / 0.5676 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.5736, allocations: 4 kB / 0.5676 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.574, allocations: 98.55 kB / 0.5677 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.574, allocations: 7.953 kB / 0.5677 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.574, allocations: 8.984 kB / 0.5677 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.574, allocations: 4 kB / 0.5677 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.574, allocations: 6.297 kB / 0.5677 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.5757, allocations: 1.157 MB / 0.5688 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.576, allocations: 264.8 kB / 0.5691 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.399e-05/0.5761, allocations: 12.64 kB / 0.5691 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.5765, allocations: 60.55 kB / 0.5691 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.5766, allocations: 34.45 kB / 0.5692 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.5766, allocations: 11.98 kB / 0.5692 GB, free: 4.102 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003985/0.577, allocations: 372.2 kB / 0.5695 GB, free: 3.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5771, allocations: 0 / 0.5695 GB, free: 3.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004131/0.5812, allocations: 1.142 MB / 0.5707 GB, free: 2.738 MB / 414.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 (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.005448/0.5867, allocations: 1.235 MB / 0.5719 GB, free: 1.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.5889, allocations: 0.9115 MB / 0.5728 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5889, allocations: 0 / 0.5728 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007899/0.5897, allocations: 0.5453 MB / 0.5733 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.5909, allocations: 230.1 kB / 0.5735 GB, free: 496 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.5934, allocations: 1.981 MB / 0.5754 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.5939, allocations: 1.006 MB / 0.5764 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000803/0.5947, allocations: 0.5365 MB / 0.577 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.5948, allocations: 48.05 kB / 0.577 GB, free: 13.12 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5948, allocations: 0 / 0.577 GB, free: 13.12 MB / 430.1 MB Notification: Performance of Templates: time 0.05612/0.6509, allocations: 40.79 MB / 0.6168 GB, free: 4.52 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveVaporizing/TestValveVaporizing.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches