Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,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.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,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.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 106.9 kB / 17.08 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001399, allocations: 198.2 kB / 18.01 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2063/0.2063, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 67.89 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09882/0.1003, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.03276/0.1331, allocations: 28.65 MB / 0.5165 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2459/0.379, allocations: 16.9 MB / 0.533 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005416/0.3796, allocations: 16.72 kB / 0.533 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007235/0.3804, allocations: 253.3 kB / 0.5333 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009948/0.3904, allocations: 3.797 MB / 0.537 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008174/0.3986, allocations: 2.564 MB / 0.5395 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002047/0.4006, allocations: 0.9942 MB / 0.5405 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004552/0.4011, allocations: 288.9 kB / 0.5407 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008302/0.4019, allocations: 479.9 kB / 0.5412 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004351/0.4024, allocations: 304.2 kB / 0.5415 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.432e-05/0.4025, allocations: 37.56 kB / 0.5415 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01649/0.419, allocations: 7.394 MB / 0.5487 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.4192, allocations: 115.2 kB / 0.5488 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004132/0.4196, allocations: 256.5 kB / 0.5491 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.43, allocations: 4.586 MB / 0.5536 GB, free: 2.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4301, allocations: 0 / 0.5536 GB, free: 2.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4301, allocations: 4 kB / 0.5536 GB, free: 2.285 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.4301, allocations: 0 / 0.5536 GB, free: 2.285 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003611/0.4337, allocations: 1.322 MB / 0.5549 GB, free: 1.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4338, allocations: 12.55 kB / 0.5549 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.4356, allocations: 225.7 kB / 0.5551 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.4361, allocations: 419.8 kB / 0.5555 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.4361, allocations: 34.31 kB / 0.5555 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.4362, allocations: 32.94 kB / 0.5556 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.4376, allocations: 0.6212 MB / 0.5562 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4376, allocations: 1.375 kB / 0.5562 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.4377, allocations: 12.75 kB / 0.5562 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.4377, allocations: 8.25 kB / 0.5562 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.4392, allocations: 0.5634 MB / 0.5567 GB, free: 0.6172 MB / 414.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.002924/0.4422, allocations: 2.739 MB / 0.5594 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.444, allocations: 0.5439 MB / 0.5599 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.4444, allocations: 196.5 kB / 0.5601 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04928/0.4937, allocations: 24.3 MB / 0.5839 GB, free: 9.566 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.4938, allocations: 38.56 kB / 0.5839 GB, free: 9.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 3.527e-06/0.4938, allocations: 0 / 0.5839 GB, free: 9.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.003045/0.4969, allocations: 0.8169 MB / 0.5847 GB, free: 8.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.4969, allocations: 106.8 kB / 0.5848 GB, free: 8.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.4975, allocations: 385.9 kB / 0.5852 GB, free: 8.191 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.4975, allocations: 29.7 kB / 0.5852 GB, free: 8.156 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.4977, allocations: 235.7 kB / 0.5854 GB, free: 7.926 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.71e-05/0.4978, allocations: 94.59 kB / 0.5855 GB, free: 7.832 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.498, allocations: 89.67 kB / 0.5856 GB, free: 7.738 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4981, allocations: 350.8 kB / 0.5859 GB, free: 7.387 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.4985, allocations: 164.7 kB / 0.5861 GB, free: 7.223 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004894/0.499, allocations: 279.2 kB / 0.5864 GB, free: 6.898 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000837/0.4999, allocations: 429 kB / 0.5868 GB, free: 6.445 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4999, allocations: 0 / 0.5868 GB, free: 6.445 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001181/0.5011, allocations: 0.4906 MB / 0.5872 GB, free: 5.969 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.5011, allocations: 8 kB / 0.5872 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.5011, allocations: 4 kB / 0.5873 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.5011, allocations: 4.469 kB / 0.5873 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.5016, allocations: 105.9 kB / 0.5874 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.5016, allocations: 10.94 kB / 0.5874 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.502, allocations: 55.56 kB / 0.5874 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.502, allocations: 23.98 kB / 0.5874 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004804/0.5025, allocations: 272 kB / 0.5877 GB, free: 5.504 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004534/0.503, allocations: 270.2 kB / 0.588 GB, free: 5.188 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007963/0.5038, allocations: 412.8 kB / 0.5884 GB, free: 4.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.875e-06/0.5038, allocations: 0 / 0.5884 GB, free: 4.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001063/0.5049, allocations: 491.6 kB / 0.5888 GB, free: 4.285 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.5049, allocations: 12.06 kB / 0.5888 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.5049, allocations: 4 kB / 0.5888 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.954e-06/0.5049, allocations: 7.938 kB / 0.5888 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.5053, allocations: 98.22 kB / 0.5889 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.5053, allocations: 4 kB / 0.5889 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.5057, allocations: 46.81 kB / 0.589 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.5057, allocations: 23.98 kB / 0.589 GB, free: 4.102 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (44): * Single equations (assignments): 44 * 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.0001698/0.5059, allocations: 215 kB / 0.5892 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.506, allocations: 41.09 kB / 0.5893 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.5085, allocations: 1.939 MB / 0.5911 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5086, allocations: 0 / 0.5911 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.5086, allocations: 0.875 kB / 0.5912 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.5088, allocations: 218.5 kB / 0.5914 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.509, allocations: 23.75 kB / 0.5914 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.5093, allocations: 35.95 kB / 0.5914 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.5094, allocations: 40.22 kB / 0.5915 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001531/0.511, allocations: 1.104 MB / 0.5925 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001496/0.5125, allocations: 1.178 MB / 0.5937 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006196/0.5131, allocations: 0.4946 MB / 0.5942 GB, free: 14.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004511/0.5136, allocations: 382.8 kB / 0.5945 GB, free: 14.42 MB / 462.1 MB Notification: Performance of Backend: time 3.1e-07/0.5136, allocations: 0 / 0.5945 GB, free: 14.42 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008945/0.5226, allocations: 1.966 MB / 0.5965 GB, free: 12.62 MB / 462.1 MB Notification: Performance of SimCode: time 0.002322/0.5249, allocations: 1.762 MB / 0.5982 GB, free: 10.83 MB / 462.1 MB Notification: Performance of Templates: time 0.06695/0.5919, allocations: 47.03 MB / 0.6441 GB, free: 11.85 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveCompressible/TestValveCompressible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches