Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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.TestValveIncompressible,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|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,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|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 113.2 kB / 17.09 MB, free: 5.984 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.001178/0.001178, allocations: 200.2 kB / 18.02 MB, free: 5.062 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.32/1.32, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2146/0.2146, allocations: 43.52 MB / 314.8 MB, free: 448 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.001447/0.001447, allocations: 64.45 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1018, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.2815/0.3833, allocations: 64.31 MB / 0.5514 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02848/0.4118, allocations: 24.59 MB / 0.5754 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.4134, allocations: 32.72 kB / 0.5754 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.4155, allocations: 0.7419 MB / 0.5761 GB, free: 8.812 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01339/0.4289, allocations: 4.684 MB / 0.5807 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0123/0.4412, allocations: 4.654 MB / 0.5852 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00388/0.4451, allocations: 2.787 MB / 0.588 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.4464, allocations: 0.7431 MB / 0.5887 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002367/0.4488, allocations: 1.104 MB / 0.5898 GB, free: 0 / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.4505, allocations: 0.8063 MB / 0.5906 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004102/0.451, allocations: 103 kB / 0.5907 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02127/0.4722, allocations: 8.159 MB / 0.5986 GB, free: 9.867 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006848/0.473, allocations: 295 kB / 0.5989 GB, free: 9.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002024/0.475, allocations: 0.6572 MB / 0.5995 GB, free: 8.918 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01646/0.4915, allocations: 6.112 MB / 0.6055 GB, free: 2.793 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4915, allocations: 0 / 0.6055 GB, free: 2.793 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4916, allocations: 0 / 0.6055 GB, free: 2.793 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.842e-05/0.4916, allocations: 0 / 0.6055 GB, free: 2.793 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006479/0.4981, allocations: 2.256 MB / 0.6077 GB, free: 500 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.4982, allocations: 19.89 kB / 0.6077 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005865/0.504, allocations: 0.6316 MB / 0.6083 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.5057, allocations: 0.7962 MB / 0.6091 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.5058, allocations: 77.94 kB / 0.6092 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.506, allocations: 88 kB / 0.6093 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00475/0.5108, allocations: 1.696 MB / 0.6109 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.5108, allocations: 3.938 kB / 0.6109 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.5109, allocations: 44 kB / 0.611 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.511, allocations: 20 kB / 0.611 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004871/0.5158, allocations: 1.58 MB / 0.6125 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.5261, allocations: 7.535 MB / 0.6199 GB, free: 3.277 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004282/0.5304, allocations: 1.222 MB / 0.6211 GB, free: 2.043 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.5314, allocations: 438.2 kB / 0.6215 GB, free: 1.613 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05111/0.5826, allocations: 24.41 MB / 0.6454 GB, free: 6.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.5827, allocations: 43.12 kB / 0.6454 GB, free: 6.219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=67): time 4.529e-06/0.5827, allocations: 0 / 0.6454 GB, free: 6.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=67): time 0.007919/0.5906, allocations: 2.078 MB / 0.6474 GB, free: 4.133 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.5907, allocations: 222.2 kB / 0.6476 GB, free: 3.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.5919, allocations: 0.8467 MB / 0.6485 GB, free: 2.992 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.575e-05/0.592, allocations: 37.7 kB / 0.6485 GB, free: 2.949 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/0.5924, allocations: 475.2 kB / 0.649 GB, free: 2.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.5926, allocations: 228.7 kB / 0.6492 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/0.5929, allocations: 202.4 kB / 0.6494 GB, free: 2.051 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.593, allocations: 338 kB / 0.6497 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.5941, allocations: 372.6 kB / 0.65 GB, free: 1.348 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.5953, allocations: 0.6633 MB / 0.6507 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.5976, allocations: 0.9879 MB / 0.6517 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.5976, allocations: 3.938 kB / 0.6517 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002882/0.6005, allocations: 1.132 MB / 0.6528 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.6006, allocations: 12.97 kB / 0.6528 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.6006, allocations: 8 kB / 0.6528 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.6006, allocations: 12 kB / 0.6528 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.6021, allocations: 255.6 kB / 0.653 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.41e-05/0.6022, allocations: 19.92 kB / 0.6531 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.6038, allocations: 154.7 kB / 0.6532 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.6039, allocations: 47.98 kB / 0.6533 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001978/0.6059, allocations: 0.533 MB / 0.6538 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001972/0.6079, allocations: 0.6668 MB / 0.6544 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003401/0.6113, allocations: 0.9889 MB / 0.6554 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.29e-05/0.6114, allocations: 4 kB / 0.6554 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004668/0.616, allocations: 1.106 MB / 0.6565 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.6161, allocations: 10.81 kB / 0.6565 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.6162, allocations: 12.84 kB / 0.6565 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/0.6162, allocations: 15.94 kB / 0.6565 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.6177, allocations: 255.6 kB / 0.6568 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.374e-05/0.6178, allocations: 21.05 kB / 0.6568 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.6195, allocations: 111.3 kB / 0.6569 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.6196, allocations: 51.98 kB / 0.6569 GB, free: 9.77 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 12 (SinkP3.medium.phase,SourceP3.medium.phase,SinkP2.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SourceP1.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.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 (109): * Single equations (assignments): 109 * 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.0005488/0.6202, allocations: 249.1 kB / 0.6572 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005012/0.6207, allocations: 102.8 kB / 0.6573 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/0.6308, allocations: 4.957 MB / 0.6621 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.509e-05/0.6309, allocations: 15.95 kB / 0.6621 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.6309, allocations: 4.688 kB / 0.6621 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009952/0.6319, allocations: 373.9 kB / 0.6625 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005701/0.6325, allocations: 114.5 kB / 0.6626 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.6341, allocations: 107.9 kB / 0.6627 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002641/0.6344, allocations: 80.83 kB / 0.6628 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005808/0.6402, allocations: 2.273 MB / 0.665 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005682/0.6459, allocations: 2.381 MB / 0.6673 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002489/0.6485, allocations: 1.072 MB / 0.6684 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002797/0.6513, allocations: 1.206 MB / 0.6695 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of Backend: time 1.072e-06/0.6513, allocations: 4 kB / 0.6696 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0121/0.6634, allocations: 3.027 MB / 0.6725 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of SimCode: time 0.006033/0.6695, allocations: 3.759 MB / 0.6762 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of Templates: time 0.1032/0.7727, allocations: 68.29 MB / 0.7429 GB, free: 1.477 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveIncompressible/TestValveIncompressible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches