Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 215.9 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2226/0.2226, allocations: 46.96 MB / 361.6 MB, free: 4.094 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 71.88 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2935, allocations: 66.04 MB / 0.5618 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.06716/0.3607, allocations: 58.96 MB / 0.6194 GB, free: 8.965 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03293/0.3936, allocations: 22.2 MB / 0.6411 GB, free: 2.695 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.3948, allocations: 51.44 kB / 0.6411 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.3968, allocations: 0.6674 MB / 0.6418 GB, free: 1.973 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01227/0.409, allocations: 4.696 MB / 0.6464 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01216/0.4212, allocations: 4.588 MB / 0.6509 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003949/0.4251, allocations: 2.824 MB / 0.6536 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009976/0.4261, allocations: 0.6319 MB / 0.6542 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.428, allocations: 1.121 MB / 0.6553 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.4292, allocations: 0.8364 MB / 0.6561 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.4294, allocations: 104 kB / 0.6562 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01545/0.4449, allocations: 8.054 MB / 0.6641 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003908/0.4452, allocations: 314.9 kB / 0.6644 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007441/0.446, allocations: 0.5524 MB / 0.6649 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.4577, allocations: 6.125 MB / 0.6709 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4577, allocations: 0 / 0.6709 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4577, allocations: 4 kB / 0.6709 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.4577, allocations: 0 / 0.6709 GB, free: 4.074 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.005803/0.4635, allocations: 2.237 MB / 0.6731 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4635, allocations: 8.031 kB / 0.6731 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005516/0.469, allocations: 0.644 MB / 0.6738 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.4705, allocations: 0.7243 MB / 0.6745 GB, free: 400 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.081e-05/0.4706, allocations: 78 kB / 0.6745 GB, free: 320 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.4707, allocations: 87.94 kB / 0.6746 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00485/0.4756, allocations: 2.152 MB / 0.6767 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.4756, allocations: 7.938 kB / 0.6767 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.4757, allocations: 40 kB / 0.6768 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.4758, allocations: 24 kB / 0.6768 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004766/0.4805, allocations: 1.568 MB / 0.6783 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009191/0.4897, allocations: 5.426 MB / 0.6836 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004287/0.494, allocations: 1.18 MB / 0.6848 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.4951, allocations: 402.5 kB / 0.6852 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04785/0.543, allocations: 13.16 MB / 0.698 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.543, allocations: 39.22 kB / 0.698 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=67): time 2.735e-06/0.543, allocations: 0 / 0.698 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67): time 0.007815/0.5508, allocations: 2.074 MB / 0.7001 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.5509, allocations: 214.3 kB / 0.7003 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008811/0.5518, allocations: 0.6722 MB / 0.7009 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.422e-05/0.5519, allocations: 41.7 kB / 0.701 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/0.5523, allocations: 0.4922 MB / 0.7015 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.5525, allocations: 245.9 kB / 0.7017 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/0.5529, allocations: 206.5 kB / 0.7019 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002139/0.5531, allocations: 382.8 kB / 0.7022 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.5542, allocations: 380.6 kB / 0.7026 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.5556, allocations: 0.8061 MB / 0.7034 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.5579, allocations: 0.9922 MB / 0.7044 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.5579, allocations: 4 kB / 0.7044 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003036/0.5609, allocations: 1.122 MB / 0.7055 GB, free: 15.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.561, allocations: 12.06 kB / 0.7055 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.561, allocations: 12 kB / 0.7055 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.561, allocations: 12 kB / 0.7055 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009978/0.562, allocations: 251.6 kB / 0.7057 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.792e-05/0.562, allocations: 23.92 kB / 0.7058 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008904/0.5629, allocations: 131.3 kB / 0.7059 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.24e-05/0.563, allocations: 51.98 kB / 0.7059 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001369/0.5644, allocations: 0.5291 MB / 0.7065 GB, free: 14.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00147/0.5658, allocations: 0.8097 MB / 0.7072 GB, free: 13.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002315/0.5682, allocations: 0.9908 MB / 0.7082 GB, free: 12.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.903e-06/0.5682, allocations: 4 kB / 0.7082 GB, free: 12.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.002907/0.5711, allocations: 1.101 MB / 0.7093 GB, free: 11.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5711, allocations: 8.969 kB / 0.7093 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5711, allocations: 11.94 kB / 0.7093 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.5711, allocations: 20 kB / 0.7093 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009604/0.5721, allocations: 251.6 kB / 0.7096 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.5721, allocations: 15.94 kB / 0.7096 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/0.573, allocations: 119.4 kB / 0.7097 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.747e-05/0.5731, allocations: 51.98 kB / 0.7097 GB, free: 11.16 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.0003608/0.5735, allocations: 247.9 kB / 0.71 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.5737, allocations: 91.56 kB / 0.7101 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007072/0.5808, allocations: 5.145 MB / 0.7151 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.5808, allocations: 7.984 kB / 0.7151 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.5808, allocations: 3.984 kB / 0.7151 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006279/0.5814, allocations: 289.9 kB / 0.7154 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002894/0.5817, allocations: 118.9 kB / 0.7155 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008468/0.5826, allocations: 107.9 kB / 0.7156 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.5827, allocations: 88.78 kB / 0.7157 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003902/0.5866, allocations: 2.305 MB / 0.7179 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004018/0.5907, allocations: 2.431 MB / 0.7203 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001537/0.5922, allocations: 0.8568 MB / 0.7211 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001605/0.5938, allocations: 1.072 MB / 0.7222 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of Backend: time 4.71e-07/0.5938, allocations: 0 / 0.7222 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01028/0.6041, allocations: 2.975 MB / 0.7251 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of SimCode: time 0.005446/0.6095, allocations: 3.649 MB / 0.7287 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of Templates: time 0.2961/0.9057, allocations: 68.95 MB / 0.796 GB, free: 111.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveIncompressible/TestValveIncompressible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.485256018000655]