Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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.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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001114/0.001114, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001252, allocations: 210.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2035/0.2035, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 75.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2925, allocations: 62.44 MB / 0.5317 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.05941/0.352, allocations: 64.52 MB / 0.5947 GB, free: 0.957 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02858/0.3806, allocations: 24.61 MB / 0.6187 GB, free: 8.266 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009952/0.3816, allocations: 31.75 kB / 0.6187 GB, free: 8.234 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.3833, allocations: 0.7374 MB / 0.6195 GB, free: 7.492 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.3943, allocations: 4.676 MB / 0.624 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01073/0.4051, allocations: 4.639 MB / 0.6286 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003986/0.4091, allocations: 2.785 MB / 0.6313 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.4105, allocations: 0.7563 MB / 0.632 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.4128, allocations: 1.094 MB / 0.6331 GB, free: 9.516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.414, allocations: 0.8053 MB / 0.6339 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.4142, allocations: 104 kB / 0.634 GB, free: 8.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/0.4303, allocations: 8.164 MB / 0.6419 GB, free: 444 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003927/0.4308, allocations: 310.9 kB / 0.6422 GB, free: 132 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008256/0.4316, allocations: 0.6495 MB / 0.6429 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.4434, allocations: 6.131 MB / 0.6489 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4434, allocations: 0 / 0.6489 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4434, allocations: 0 / 0.6489 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.4434, allocations: 0 / 0.6489 GB, free: 9.332 MB / 0.4981 GB 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.0049/0.4483, allocations: 2.252 MB / 0.6511 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4484, allocations: 16.03 kB / 0.6511 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00528/0.4537, allocations: 0.6355 MB / 0.6517 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.4549, allocations: 0.7998 MB / 0.6525 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-05/0.4549, allocations: 78 kB / 0.6526 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.4551, allocations: 84 kB / 0.6526 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004211/0.4593, allocations: 1.704 MB / 0.6543 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.4593, allocations: 7.875 kB / 0.6543 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.4594, allocations: 44 kB / 0.6543 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.853e-05/0.4595, allocations: 20 kB / 0.6544 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004456/0.4639, allocations: 1.576 MB / 0.6559 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008906/0.4728, allocations: 7.539 MB / 0.6633 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004023/0.4769, allocations: 1.219 MB / 0.6645 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009955/0.4779, allocations: 446.2 kB / 0.6649 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04954/0.5275, allocations: 26.97 MB / 0.6912 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/0.5275, allocations: 43.12 kB / 0.6913 GB, free: 9.668 MB / 0.545 GB Notification: Performance of pre-optimization done (n=67): time 3.527e-06/0.5276, allocations: 3.938 kB / 0.6913 GB, free: 9.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=67): time 0.007802/0.5354, allocations: 2.082 MB / 0.6933 GB, free: 7.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.5355, allocations: 222.2 kB / 0.6935 GB, free: 7.305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.5367, allocations: 0.839 MB / 0.6943 GB, free: 6.441 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.991e-05/0.5368, allocations: 37.7 kB / 0.6944 GB, free: 6.398 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.5371, allocations: 479.2 kB / 0.6948 GB, free: 5.926 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.5373, allocations: 224.8 kB / 0.695 GB, free: 5.703 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.5376, allocations: 202.4 kB / 0.6952 GB, free: 5.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5377, allocations: 338 kB / 0.6956 GB, free: 5.164 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009405/0.5387, allocations: 376.5 kB / 0.6959 GB, free: 4.793 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.5398, allocations: 0.6594 MB / 0.6966 GB, free: 3.996 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.5419, allocations: 0.9918 MB / 0.6975 GB, free: 2.891 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.5419, allocations: 8 kB / 0.6975 GB, free: 2.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002584/0.5445, allocations: 1.133 MB / 0.6986 GB, free: 1.742 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.5445, allocations: 11.94 kB / 0.6987 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.5445, allocations: 8 kB / 0.6987 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.5446, allocations: 16 kB / 0.6987 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009145/0.5455, allocations: 247.6 kB / 0.6989 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.291e-05/0.5455, allocations: 19.92 kB / 0.6989 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/0.5464, allocations: 150.8 kB / 0.6991 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-05/0.5464, allocations: 51.98 kB / 0.6991 GB, free: 1.246 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001142/0.5476, allocations: 0.5291 MB / 0.6996 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001132/0.5487, allocations: 0.6629 MB / 0.7003 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001969/0.5507, allocations: 0.985 MB / 0.7012 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/0.5507, allocations: 4 kB / 0.7013 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.00251/0.5532, allocations: 1.115 MB / 0.7023 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.5533, allocations: 16.09 kB / 0.7024 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5533, allocations: 8 kB / 0.7024 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.5533, allocations: 16 kB / 0.7024 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008791/0.5542, allocations: 251.6 kB / 0.7026 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.5542, allocations: 19.92 kB / 0.7026 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008201/0.555, allocations: 115.3 kB / 0.7027 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/0.5551, allocations: 51.98 kB / 0.7028 GB, free: 13.21 MB / 0.5606 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.0003271/0.5555, allocations: 243.9 kB / 0.703 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.5557, allocations: 110.7 kB / 0.7031 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005812/0.5615, allocations: 4.96 MB / 0.708 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.5615, allocations: 7.969 kB / 0.708 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.5615, allocations: 0 / 0.708 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005547/0.5621, allocations: 377.9 kB / 0.7083 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/0.5624, allocations: 114.5 kB / 0.7085 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008124/0.5632, allocations: 103.9 kB / 0.7086 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.5633, allocations: 88.77 kB / 0.7086 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003356/0.5667, allocations: 2.281 MB / 0.7109 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0034/0.5701, allocations: 2.372 MB / 0.7132 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001381/0.5715, allocations: 1.083 MB / 0.7142 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001544/0.5731, allocations: 1.198 MB / 0.7154 GB, free: 116 kB / 0.5606 GB Notification: Performance of Backend: time 3.6e-07/0.5731, allocations: 0 / 0.7154 GB, free: 116 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2328/0.8059, allocations: 3.045 MB / 0.7184 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.004839/0.8108, allocations: 3.75 MB / 0.722 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.07171/0.8825, allocations: 69.3 MB / 0.7897 GB, free: 111.5 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches