Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002194/0.002194, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002345/0.002345, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2241/0.2241, allocations: 46.89 MB / 361.1 MB, free: 4.617 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-beta.om/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=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-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 79.86 kB / 0.4968 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3073, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.06967/0.377, allocations: 65.51 MB / 0.6252 GB, free: 3.277 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03301/0.41, allocations: 24.76 MB / 0.6494 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.4113, allocations: 39.75 kB / 0.6494 GB, free: 10.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.4133, allocations: 0.7296 MB / 0.6501 GB, free: 9.664 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.4253, allocations: 4.714 MB / 0.6547 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01162/0.4369, allocations: 4.67 MB / 0.6593 GB, free: 292 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00391/0.4408, allocations: 2.804 MB / 0.662 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.4418, allocations: 0.6276 MB / 0.6626 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.4437, allocations: 1.117 MB / 0.6637 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.4448, allocations: 0.8403 MB / 0.6645 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.445, allocations: 103.9 kB / 0.6646 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01901/0.464, allocations: 8.203 MB / 0.6727 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008514/0.4649, allocations: 310.8 kB / 0.673 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.4661, allocations: 0.6572 MB / 0.6736 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0157/0.4818, allocations: 6.145 MB / 0.6796 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.4818, allocations: 0 / 0.6796 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4818, allocations: 0 / 0.6796 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.035e-05/0.4818, allocations: 0 / 0.6796 GB, free: 11.42 MB / 0.5137 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.005755/0.4876, allocations: 2.324 MB / 0.6819 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4876, allocations: 11.97 kB / 0.6819 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005494/0.4931, allocations: 0.644 MB / 0.6825 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.4947, allocations: 0.8004 MB / 0.6833 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-05/0.4948, allocations: 78 kB / 0.6834 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.4949, allocations: 84 kB / 0.6834 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004715/0.4996, allocations: 1.696 MB / 0.6851 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.4997, allocations: 7.938 kB / 0.6851 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.4998, allocations: 40 kB / 0.6851 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.4998, allocations: 24 kB / 0.6852 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004838/0.5046, allocations: 1.584 MB / 0.6867 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/0.5149, allocations: 7.541 MB / 0.6941 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004245/0.5192, allocations: 1.183 MB / 0.6952 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.5202, allocations: 422.1 kB / 0.6956 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05617/0.5764, allocations: 26.97 MB / 0.722 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.763e-05/0.5765, allocations: 43.12 kB / 0.722 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=67): time 3.246e-06/0.5765, allocations: 0 / 0.722 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67): time 0.007975/0.5844, allocations: 2.086 MB / 0.7241 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.5846, allocations: 218.2 kB / 0.7243 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.5857, allocations: 0.8391 MB / 0.7251 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.979e-05/0.5858, allocations: 37.7 kB / 0.7251 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.5862, allocations: 488.2 kB / 0.7256 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.5865, allocations: 241.9 kB / 0.7258 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003/0.5868, allocations: 210.5 kB / 0.726 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5869, allocations: 341.9 kB / 0.7263 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.588, allocations: 372.6 kB / 0.7267 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.5893, allocations: 0.6555 MB / 0.7273 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00228/0.5916, allocations: 0.9957 MB / 0.7283 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.5916, allocations: 4 kB / 0.7283 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002922/0.5945, allocations: 1.137 MB / 0.7294 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.5945, allocations: 14.19 kB / 0.7294 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5945, allocations: 11.94 kB / 0.7294 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/0.5946, allocations: 12 kB / 0.7295 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000946/0.5955, allocations: 251.6 kB / 0.7297 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/0.5955, allocations: 15.94 kB / 0.7297 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009341/0.5965, allocations: 159.1 kB / 0.7299 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/0.5966, allocations: 51.98 kB / 0.7299 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001297/0.5979, allocations: 0.5331 MB / 0.7304 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001294/0.5992, allocations: 0.6597 MB / 0.7311 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002279/0.6014, allocations: 0.9812 MB / 0.732 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.513e-06/0.6014, allocations: 4 kB / 0.732 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.2615/0.8629, allocations: 1.121 MB / 0.7331 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.8629, allocations: 12.69 kB / 0.7331 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.8629, allocations: 9 kB / 0.7332 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.863, allocations: 13.53 kB / 0.7332 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.8641, allocations: 251.2 kB / 0.7334 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.242e-05/0.8641, allocations: 18.53 kB / 0.7334 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/0.8651, allocations: 115.3 kB / 0.7335 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.8652, allocations: 53.52 kB / 0.7336 GB, free: 164.4 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.0002774/0.8655, allocations: 247.3 kB / 0.7338 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.8657, allocations: 111.7 kB / 0.7339 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005932/0.8716, allocations: 4.973 MB / 0.7388 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.8717, allocations: 11.17 kB / 0.7388 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.8717, allocations: 0 / 0.7388 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005806/0.8722, allocations: 390 kB / 0.7392 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/0.8725, allocations: 121.2 kB / 0.7393 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008404/0.8734, allocations: 110.8 kB / 0.7394 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.8735, allocations: 78.52 kB / 0.7395 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002813/0.8763, allocations: 2.272 MB / 0.7417 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002788/0.8791, allocations: 2.4 MB / 0.744 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001076/0.8802, allocations: 0.825 MB / 0.7448 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001326/0.8815, allocations: 1.204 MB / 0.746 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of Backend: time 7.92e-07/0.8815, allocations: 0 / 0.746 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008408/0.8899, allocations: 3.01 MB / 0.7489 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.004292/0.8942, allocations: 3.812 MB / 0.7527 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.07339/0.9676, allocations: 69.02 MB / 0.8201 GB, free: 86.19 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveIncompressible/TestValveIncompressible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.634461072739214]