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.001036/0.001036, allocations: 110.5 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2027/0.2027, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 79.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2979, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.03109/0.3291, allocations: 28.81 MB / 0.5598 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02145/0.3506, allocations: 16.96 MB / 0.5763 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005444/0.3511, allocations: 19.88 kB / 0.5764 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007507/0.3519, allocations: 258.3 kB / 0.5766 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009612/0.3616, allocations: 3.828 MB / 0.5804 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006562/0.3681, allocations: 2.652 MB / 0.5829 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.3693, allocations: 1.014 MB / 0.5839 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004101/0.3697, allocations: 293.5 kB / 0.5842 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007739/0.3705, allocations: 474.1 kB / 0.5847 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003699/0.3709, allocations: 306.7 kB / 0.585 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/0.371, allocations: 36 kB / 0.585 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01287/0.3838, allocations: 7.411 MB / 0.5922 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.384, allocations: 119.6 kB / 0.5923 GB, free: 3.422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.3843, allocations: 258.8 kB / 0.5926 GB, free: 3.168 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007193/0.3915, allocations: 4.6 MB / 0.5971 GB, free: 14.55 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3915, allocations: 0 / 0.5971 GB, free: 14.55 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3915, allocations: 4 kB / 0.5971 GB, free: 14.55 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.3915, allocations: 0 / 0.5971 GB, free: 14.55 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.002961/0.3945, allocations: 1.337 MB / 0.5984 GB, free: 13.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3946, allocations: 12.03 kB / 0.5984 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.3964, allocations: 228.1 kB / 0.5986 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.397, allocations: 427.3 kB / 0.599 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.3971, allocations: 33 kB / 0.5991 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.3971, allocations: 28 kB / 0.5991 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.3988, allocations: 0.6609 MB / 0.5997 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3989, allocations: 0 / 0.5997 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.3989, allocations: 16 kB / 0.5997 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.3989, allocations: 12 kB / 0.5998 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.4009, allocations: 0.6151 MB / 0.6004 GB, free: 11.07 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.00308/0.404, allocations: 2.821 MB / 0.6031 GB, free: 7.992 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.4057, allocations: 0.4906 MB / 0.6036 GB, free: 7.492 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005621/0.4063, allocations: 200.7 kB / 0.6038 GB, free: 7.293 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04957/0.4559, allocations: 27 MB / 0.6302 GB, free: 8.867 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.4559, allocations: 38.56 kB / 0.6302 GB, free: 8.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=27): time 2.665e-06/0.456, allocations: 0 / 0.6302 GB, free: 8.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=27): time 0.003353/0.4593, allocations: 0.8364 MB / 0.631 GB, free: 7.977 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.4594, allocations: 118.7 kB / 0.6311 GB, free: 7.836 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.4599, allocations: 373.6 kB / 0.6315 GB, free: 7.461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.4599, allocations: 29.7 kB / 0.6315 GB, free: 7.426 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.4601, allocations: 236.1 kB / 0.6317 GB, free: 7.188 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.4602, allocations: 90.66 kB / 0.6318 GB, free: 7.098 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.4603, allocations: 77.91 kB / 0.6319 GB, free: 7.016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4605, allocations: 354.7 kB / 0.6322 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.461, allocations: 170 kB / 0.6324 GB, free: 6.492 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.4616, allocations: 261.2 kB / 0.6326 GB, free: 6.195 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.4627, allocations: 410.9 kB / 0.633 GB, free: 5.758 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4628, allocations: 0 / 0.633 GB, free: 5.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001362/0.4641, allocations: 496.7 kB / 0.6335 GB, free: 5.266 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4642, allocations: 8 kB / 0.6335 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4642, allocations: 4 kB / 0.6335 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4642, allocations: 4 kB / 0.6335 GB, free: 5.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.4647, allocations: 103.9 kB / 0.6336 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4647, allocations: 4.281 kB / 0.6336 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.4651, allocations: 67.58 kB / 0.6337 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.4651, allocations: 23.92 kB / 0.6337 GB, free: 5.055 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006546/0.4658, allocations: 292.2 kB / 0.634 GB, free: 4.766 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006026/0.4664, allocations: 256.5 kB / 0.6342 GB, free: 4.473 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001073/0.4675, allocations: 402 kB / 0.6346 GB, free: 4.043 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.4675, allocations: 11.94 kB / 0.6346 GB, free: 4.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001334/0.4689, allocations: 485 kB / 0.6351 GB, free: 3.551 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.4689, allocations: 4 kB / 0.6351 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4689, allocations: 8 kB / 0.6351 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.4689, allocations: 4.281 kB / 0.6351 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.4694, allocations: 103.9 kB / 0.6352 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4694, allocations: 4 kB / 0.6352 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.4698, allocations: 55.7 kB / 0.6353 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.4698, allocations: 16 kB / 0.6353 GB, free: 3.359 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.0001522/0.47, allocations: 216 kB / 0.6355 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.4701, allocations: 39.53 kB / 0.6355 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.4727, allocations: 1.956 MB / 0.6374 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4727, allocations: 3.984 kB / 0.6374 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4727, allocations: 0 / 0.6374 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.473, allocations: 203.8 kB / 0.6376 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.932e-05/0.4731, allocations: 27.69 kB / 0.6377 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.4735, allocations: 43.94 kB / 0.6377 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/0.4736, allocations: 43.94 kB / 0.6377 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001893/0.4755, allocations: 1.141 MB / 0.6389 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001784/0.4773, allocations: 1.206 MB / 0.64 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007569/0.4781, allocations: 0.5102 MB / 0.6405 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004132/0.4785, allocations: 374.8 kB / 0.6409 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of Backend: time 4.11e-07/0.4785, allocations: 0 / 0.6409 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006991/0.4855, allocations: 1.986 MB / 0.6428 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002221/0.4877, allocations: 1.713 MB / 0.6445 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of Templates: time 0.0623/0.5501, allocations: 47.34 MB / 0.6907 GB, free: 10.51 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