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.001096/0.001096, allocations: 112.8 kB / 17.09 MB, free: 5.969 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.00114/0.00114, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.324/1.324, 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.2137/0.2137, allocations: 43.52 MB / 314.8 MB, free: 456 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.001556/0.001556, allocations: 64.42 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09833/0.09989, allocations: 57.8 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.2907/0.3906, allocations: 64.31 MB / 0.5514 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02801/0.4187, allocations: 24.58 MB / 0.5754 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.4203, allocations: 40.78 kB / 0.5754 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.4222, allocations: 0.7392 MB / 0.5761 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01256/0.4348, allocations: 4.655 MB / 0.5807 GB, free: 6.238 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01171/0.4465, allocations: 4.64 MB / 0.5852 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003174/0.4497, allocations: 2.785 MB / 0.5879 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008278/0.4505, allocations: 0.7424 MB / 0.5886 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.4519, allocations: 1.106 MB / 0.5897 GB, free: 44 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008488/0.4527, allocations: 0.8027 MB / 0.5905 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.4529, allocations: 103.8 kB / 0.5906 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01524/0.4681, allocations: 8.147 MB / 0.5986 GB, free: 9.965 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003334/0.4685, allocations: 303 kB / 0.5989 GB, free: 9.668 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008047/0.4693, allocations: 0.6533 MB / 0.5995 GB, free: 9.012 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.4812, allocations: 6.112 MB / 0.6055 GB, free: 2.887 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4813, allocations: 0 / 0.6055 GB, free: 2.887 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4813, allocations: 4 kB / 0.6055 GB, free: 2.883 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.4813, allocations: 4 kB / 0.6055 GB, free: 2.879 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.004907/0.4862, allocations: 2.248 MB / 0.6077 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4863, allocations: 11.89 kB / 0.6077 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005242/0.4915, allocations: 0.6472 MB / 0.6083 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.4927, allocations: 0.7844 MB / 0.6091 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.453e-05/0.4928, allocations: 81.94 kB / 0.6091 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.4929, allocations: 84 kB / 0.6092 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004122/0.497, allocations: 1.7 MB / 0.6109 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.4971, allocations: 7.938 kB / 0.6109 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.4972, allocations: 44 kB / 0.6109 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.4972, allocations: 24 kB / 0.611 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004548/0.5017, allocations: 1.58 MB / 0.6125 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009172/0.5109, allocations: 7.528 MB / 0.6199 GB, free: 3.367 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004044/0.515, allocations: 1.226 MB / 0.6211 GB, free: 2.129 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.516, allocations: 438.2 kB / 0.6215 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04785/0.5639, allocations: 24.41 MB / 0.6453 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.564, allocations: 47.06 kB / 0.6454 GB, free: 6.301 MB / 494.1 MB Notification: Performance of pre-optimization done (n=67): time 2.966e-06/0.564, allocations: 0 / 0.6454 GB, free: 6.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=67): time 0.007945/0.572, allocations: 2.078 MB / 0.6474 GB, free: 4.215 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.5721, allocations: 218.2 kB / 0.6476 GB, free: 3.953 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.5733, allocations: 0.8389 MB / 0.6484 GB, free: 3.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.5735, allocations: 37.7 kB / 0.6485 GB, free: 3.043 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004155/0.5739, allocations: 479.2 kB / 0.6489 GB, free: 2.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.5741, allocations: 228.7 kB / 0.6491 GB, free: 2.344 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/0.5745, allocations: 206.4 kB / 0.6493 GB, free: 2.137 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5746, allocations: 341.9 kB / 0.6496 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009952/0.5756, allocations: 372.5 kB / 0.65 GB, free: 1.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.5769, allocations: 0.6633 MB / 0.6507 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.579, allocations: 0.9841 MB / 0.6516 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.579, allocations: 3.938 kB / 0.6516 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002695/0.5817, allocations: 1.137 MB / 0.6527 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.5818, allocations: 12.03 kB / 0.6527 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.5818, allocations: 8 kB / 0.6527 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.5818, allocations: 12 kB / 0.6528 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009327/0.5827, allocations: 251.6 kB / 0.653 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-05/0.5828, allocations: 19.98 kB / 0.653 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009012/0.5837, allocations: 150.7 kB / 0.6532 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.963e-05/0.5838, allocations: 51.98 kB / 0.6532 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001209/0.585, allocations: 0.5331 MB / 0.6537 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001136/0.5862, allocations: 0.659 MB / 0.6544 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002079/0.5882, allocations: 0.985 MB / 0.6553 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.09e-06/0.5883, allocations: 4 kB / 0.6553 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.002731/0.591, allocations: 1.115 MB / 0.6564 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.591, allocations: 14.78 kB / 0.6564 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.5911, allocations: 12 kB / 0.6565 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5911, allocations: 12 kB / 0.6565 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.592, allocations: 247.6 kB / 0.6567 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.202e-05/0.592, allocations: 25.05 kB / 0.6567 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008866/0.5929, allocations: 119.2 kB / 0.6568 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.057e-05/0.593, allocations: 51.98 kB / 0.6569 GB, free: 9.852 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.0002941/0.5933, allocations: 241.1 kB / 0.6571 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.5936, allocations: 106.8 kB / 0.6572 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006175/0.5998, allocations: 4.961 MB / 0.6621 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.5998, allocations: 7.969 kB / 0.6621 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.5998, allocations: 0 / 0.6621 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/0.6004, allocations: 369.9 kB / 0.6624 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/0.6007, allocations: 115.4 kB / 0.6625 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009011/0.6016, allocations: 111.8 kB / 0.6626 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.6018, allocations: 84.83 kB / 0.6627 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003599/0.6054, allocations: 2.277 MB / 0.6649 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003626/0.609, allocations: 2.376 MB / 0.6673 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001485/0.6105, allocations: 1.076 MB / 0.6683 GB, free: 14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00175/0.6123, allocations: 1.202 MB / 0.6695 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of Backend: time 5.41e-07/0.6123, allocations: 0 / 0.6695 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01043/0.6227, allocations: 3.036 MB / 0.6725 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of SimCode: time 0.006106/0.6289, allocations: 3.771 MB / 0.6761 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of Templates: time 0.09384/0.7227, allocations: 69.18 MB / 0.7437 GB, free: 0.6602 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