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.001148/0.001148, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2093/0.2093, allocations: 46.12 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 79.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3115, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.03012/0.3416, allocations: 28.8 MB / 0.5598 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02131/0.363, allocations: 16.97 MB / 0.5764 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005099/0.3635, allocations: 15.88 kB / 0.5764 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007241/0.3643, allocations: 254.3 kB / 0.5766 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009843/0.3742, allocations: 3.84 MB / 0.5804 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007193/0.3814, allocations: 2.651 MB / 0.583 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001364/0.3828, allocations: 1.01 MB / 0.5839 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005496/0.3833, allocations: 297.4 kB / 0.5842 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009217/0.3843, allocations: 478.1 kB / 0.5847 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.3847, allocations: 302.7 kB / 0.585 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.019e-05/0.3848, allocations: 40 kB / 0.585 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01432/0.3992, allocations: 7.411 MB / 0.5922 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.3994, allocations: 111.6 kB / 0.5924 GB, free: 3.457 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.3999, allocations: 270.8 kB / 0.5926 GB, free: 3.191 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.41, allocations: 4.596 MB / 0.5971 GB, free: 14.58 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.41, allocations: 0 / 0.5971 GB, free: 14.58 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.41, allocations: 0 / 0.5971 GB, free: 14.58 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.41, allocations: 0 / 0.5971 GB, free: 14.58 MB / 462.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.003649/0.4137, allocations: 1.337 MB / 0.5984 GB, free: 13.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4138, allocations: 8.031 kB / 0.5984 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.4159, allocations: 244 kB / 0.5986 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006313/0.4165, allocations: 411.4 kB / 0.599 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.4166, allocations: 32.94 kB / 0.5991 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.4167, allocations: 32 kB / 0.5991 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.4187, allocations: 0.6571 MB / 0.5997 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.4187, allocations: 0 / 0.5997 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.4187, allocations: 16 kB / 0.5998 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.4188, allocations: 8 kB / 0.5998 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.4209, allocations: 0.6152 MB / 0.6004 GB, free: 11.11 MB / 462.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.003702/0.4246, allocations: 2.84 MB / 0.6031 GB, free: 8.012 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.4265, allocations: 498.4 kB / 0.6036 GB, free: 7.516 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005977/0.4271, allocations: 196.7 kB / 0.6038 GB, free: 7.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05432/0.4814, allocations: 27 MB / 0.6302 GB, free: 8.895 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.241e-05/0.4815, allocations: 34.56 kB / 0.6302 GB, free: 8.852 MB / 494.1 MB Notification: Performance of pre-optimization done (n=27): time 3.637e-06/0.4815, allocations: 4 kB / 0.6302 GB, free: 8.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=27): time 0.003666/0.4852, allocations: 0.8364 MB / 0.631 GB, free: 8.004 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.4853, allocations: 110.8 kB / 0.6311 GB, free: 7.871 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.4858, allocations: 377.6 kB / 0.6315 GB, free: 7.492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.4859, allocations: 29.7 kB / 0.6315 GB, free: 7.457 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.4861, allocations: 232.1 kB / 0.6317 GB, free: 7.223 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.685e-05/0.4862, allocations: 94.64 kB / 0.6318 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.4864, allocations: 73.92 kB / 0.6319 GB, free: 7.051 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4865, allocations: 354.7 kB / 0.6322 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000609/0.4872, allocations: 174 kB / 0.6324 GB, free: 6.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006635/0.4878, allocations: 265.2 kB / 0.6327 GB, free: 6.223 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.489, allocations: 402.9 kB / 0.633 GB, free: 5.793 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.489, allocations: 0 / 0.633 GB, free: 5.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001493/0.4905, allocations: 0.489 MB / 0.6335 GB, free: 5.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.4906, allocations: 8 kB / 0.6335 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.4906, allocations: 4 kB / 0.6335 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4906, allocations: 4 kB / 0.6335 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.4911, allocations: 108.1 kB / 0.6336 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.4911, allocations: 11.97 kB / 0.6337 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004489/0.4916, allocations: 59.59 kB / 0.6337 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.4916, allocations: 19.98 kB / 0.6337 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006961/0.4923, allocations: 292.2 kB / 0.634 GB, free: 4.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006425/0.493, allocations: 264.4 kB / 0.6343 GB, free: 4.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001156/0.4942, allocations: 398 kB / 0.6346 GB, free: 4.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.4942, allocations: 3.938 kB / 0.6346 GB, free: 4.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001466/0.4956, allocations: 488.9 kB / 0.6351 GB, free: 3.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.4957, allocations: 4.344 kB / 0.6351 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4957, allocations: 8 kB / 0.6351 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.545e-06/0.4957, allocations: 4 kB / 0.6351 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.4962, allocations: 103.8 kB / 0.6352 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.4962, allocations: 4 kB / 0.6352 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004296/0.4966, allocations: 59.7 kB / 0.6353 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.4967, allocations: 19.98 kB / 0.6353 GB, free: 3.383 MB / 494.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.0001746/0.4968, allocations: 212 kB / 0.6355 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.497, allocations: 39.53 kB / 0.6355 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.4998, allocations: 1.956 MB / 0.6375 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.4999, allocations: 3.984 kB / 0.6375 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4999, allocations: 0 / 0.6375 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.5001, allocations: 203.7 kB / 0.6376 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.5002, allocations: 27.69 kB / 0.6377 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.5007, allocations: 51.94 kB / 0.6377 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/0.5008, allocations: 35.95 kB / 0.6378 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002027/0.5028, allocations: 1.141 MB / 0.6389 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00194/0.5048, allocations: 1.21 MB / 0.6401 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008057/0.5056, allocations: 0.5063 MB / 0.6405 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004688/0.5061, allocations: 378.8 kB / 0.6409 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of Backend: time 5.51e-07/0.5061, allocations: 0 / 0.6409 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00816/0.5143, allocations: 1.988 MB / 0.6429 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002738/0.517, allocations: 1.71 MB / 0.6445 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of Templates: time 0.06586/0.5829, allocations: 46.98 MB / 0.6904 GB, free: 10.9 MB / 0.545 GB 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