Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001116/0.001116, allocations: 110.6 kB / 18.46 MB, free: 4.598 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.001414/0.001414, allocations: 187.1 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 243.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2016/0.2016, allocations: 44.17 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3033, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.06448/0.3678, allocations: 64.35 MB / 0.5824 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03134/0.3992, allocations: 24.59 MB / 0.6064 GB, free: 2.859 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.4008, allocations: 35.75 kB / 0.6065 GB, free: 2.824 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.403, allocations: 0.7336 MB / 0.6072 GB, free: 2.086 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0128/0.4158, allocations: 4.704 MB / 0.6118 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01275/0.4286, allocations: 4.658 MB / 0.6163 GB, free: 8.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004188/0.4328, allocations: 2.793 MB / 0.6191 GB, free: 5.926 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.4343, allocations: 0.7369 MB / 0.6198 GB, free: 5.176 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/0.437, allocations: 1.105 MB / 0.6208 GB, free: 4.066 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.4388, allocations: 0.8053 MB / 0.6216 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004723/0.4392, allocations: 104 kB / 0.6217 GB, free: 3.156 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01703/0.4563, allocations: 8.164 MB / 0.6297 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006061/0.4569, allocations: 311 kB / 0.63 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.4583, allocations: 0.6533 MB / 0.6306 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01583/0.4741, allocations: 6.12 MB / 0.6366 GB, free: 3.891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4742, allocations: 0 / 0.6366 GB, free: 3.891 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4742, allocations: 0 / 0.6366 GB, free: 3.891 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.976e-05/0.4743, allocations: 0 / 0.6366 GB, free: 3.891 MB / 494.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.006142/0.4804, allocations: 2.252 MB / 0.6388 GB, free: 1.582 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.4805, allocations: 8.031 kB / 0.6388 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005774/0.4862, allocations: 0.6472 MB / 0.6395 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.4879, allocations: 0.7959 MB / 0.6402 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.4881, allocations: 78 kB / 0.6403 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.4883, allocations: 84.05 kB / 0.6404 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004868/0.4932, allocations: 1.688 MB / 0.642 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.4932, allocations: 11.92 kB / 0.642 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.4934, allocations: 44 kB / 0.6421 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.4934, allocations: 24 kB / 0.6421 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00484/0.4982, allocations: 1.576 MB / 0.6437 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.5086, allocations: 7.531 MB / 0.651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004339/0.5129, allocations: 1.218 MB / 0.6522 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.5141, allocations: 446.1 kB / 0.6526 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05078/0.5649, allocations: 24.4 MB / 0.6765 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.565, allocations: 47.12 kB / 0.6765 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=67): time 2.926e-06/0.565, allocations: 0 / 0.6765 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67): time 0.007752/0.5727, allocations: 2.086 MB / 0.6785 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.5e-05/0.5729, allocations: 214.2 kB / 0.6787 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.574, allocations: 0.8468 MB / 0.6796 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.43e-05/0.5741, allocations: 37.7 kB / 0.6796 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/0.5744, allocations: 475.2 kB / 0.6801 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.5747, allocations: 228.7 kB / 0.6803 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003527/0.575, allocations: 198.4 kB / 0.6805 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5752, allocations: 337.9 kB / 0.6808 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.5763, allocations: 376.6 kB / 0.6811 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.5776, allocations: 0.6672 MB / 0.6818 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002268/0.5798, allocations: 0.9879 MB / 0.6828 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.5799, allocations: 4 kB / 0.6828 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002929/0.5828, allocations: 1.136 MB / 0.6839 GB, free: 15.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.5828, allocations: 8.938 kB / 0.6839 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.5828, allocations: 12 kB / 0.6839 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.5829, allocations: 12.06 kB / 0.6839 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009204/0.5838, allocations: 255.6 kB / 0.6841 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.288e-05/0.5838, allocations: 15.94 kB / 0.6842 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009652/0.5848, allocations: 154.6 kB / 0.6843 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.945e-05/0.5849, allocations: 59.91 kB / 0.6844 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001266/0.5862, allocations: 0.5252 MB / 0.6849 GB, free: 14.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001225/0.5874, allocations: 0.6666 MB / 0.6855 GB, free: 13.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002166/0.5896, allocations: 0.985 MB / 0.6865 GB, free: 12.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.394e-06/0.5896, allocations: 7.984 kB / 0.6865 GB, free: 12.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.002764/0.5924, allocations: 1.114 MB / 0.6876 GB, free: 11.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.5924, allocations: 8 kB / 0.6876 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.5924, allocations: 8 kB / 0.6876 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5925, allocations: 16.81 kB / 0.6876 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/0.5934, allocations: 255.6 kB / 0.6879 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.5934, allocations: 15.94 kB / 0.6879 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/0.5943, allocations: 107.4 kB / 0.688 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.258e-05/0.5944, allocations: 59.97 kB / 0.688 GB, free: 10.86 MB / 0.545 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.0003058/0.5947, allocations: 248.3 kB / 0.6883 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/0.595, allocations: 102.8 kB / 0.6884 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006334/0.6014, allocations: 4.946 MB / 0.6932 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.6014, allocations: 15.86 kB / 0.6932 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.6014, allocations: 0 / 0.6932 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005901/0.602, allocations: 381.8 kB / 0.6936 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003281/0.6023, allocations: 114.5 kB / 0.6937 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.6033, allocations: 103.9 kB / 0.6938 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.6035, allocations: 84.81 kB / 0.6939 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00367/0.6072, allocations: 2.269 MB / 0.6961 GB, free: 2.512 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003762/0.611, allocations: 2.384 MB / 0.6984 GB, free: 84 kB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001522/0.6125, allocations: 1.076 MB / 0.6995 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001851/0.6144, allocations: 1.198 MB / 0.7006 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of Backend: time 6.31e-07/0.6144, allocations: 4 kB / 0.7006 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01106/0.6255, allocations: 3.041 MB / 0.7036 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006075/0.6316, allocations: 3.742 MB / 0.7073 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of Templates: time 0.2975/0.9291, allocations: 68.34 MB / 0.774 GB, free: 133.7 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveIncompressible/TestValveIncompressible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches