Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.002029/0.002029, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002407/0.002407, allocations: 209.7 kB / 24.49 MB, free: 3.965 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2263/0.2263, allocations: 46.97 MB / 361.6 MB, free: 4.023 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.TestCheckValve,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|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,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|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.91 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3152, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.03286/0.3481, allocations: 26.26 MB / 0.5875 GB, free: 9.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02195/0.3701, allocations: 15.14 MB / 0.6022 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004988/0.3706, allocations: 15.81 kB / 0.6023 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007696/0.3713, allocations: 234.4 kB / 0.6025 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01207/0.3834, allocations: 4.57 MB / 0.607 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005823/0.3892, allocations: 1.867 MB / 0.6088 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.3908, allocations: 0.9786 MB / 0.6097 GB, free: 2.988 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004288/0.3912, allocations: 241 kB / 0.61 GB, free: 2.746 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009722/0.3922, allocations: 0.4902 MB / 0.6104 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003932/0.3961, allocations: 1.881 MB / 0.6123 GB, free: 356 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.421e-05/0.3962, allocations: 36 kB / 0.6123 GB, free: 320 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01494/0.4111, allocations: 7.45 MB / 0.6196 GB, free: 8.852 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.4114, allocations: 115.6 kB / 0.6197 GB, free: 8.738 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.4117, allocations: 207.1 kB / 0.6199 GB, free: 8.535 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01257/0.4243, allocations: 4.661 MB / 0.6244 GB, free: 3.863 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.4243, allocations: 0 / 0.6244 GB, free: 3.863 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4243, allocations: 3.938 kB / 0.6244 GB, free: 3.859 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.4243, allocations: 0 / 0.6244 GB, free: 3.859 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004204/0.4285, allocations: 1.288 MB / 0.6257 GB, free: 2.535 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4286, allocations: 16.03 kB / 0.6257 GB, free: 2.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/0.4307, allocations: 240.4 kB / 0.626 GB, free: 2.285 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008047/0.4315, allocations: 357.9 kB / 0.6263 GB, free: 1.914 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.4315, allocations: 28.66 kB / 0.6263 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.4316, allocations: 28 kB / 0.6263 GB, free: 1.859 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.4336, allocations: 0.7548 MB / 0.6271 GB, free: 1.031 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.4336, allocations: 3.938 kB / 0.6271 GB, free: 1.027 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/0.4336, allocations: 16 kB / 0.6271 GB, free: 1.012 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.4336, allocations: 8 kB / 0.6271 GB, free: 1.004 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.4354, allocations: 0.5605 MB / 0.6277 GB, free: 452 kB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003512/0.439, allocations: 1.762 MB / 0.6294 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.4406, allocations: 446.1 kB / 0.6298 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/0.441, allocations: 180.7 kB / 0.63 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0474/0.4884, allocations: 13.2 MB / 0.6429 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/0.4885, allocations: 34.56 kB / 0.6429 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 5.61e-06/0.4885, allocations: 4 kB / 0.6429 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003282/0.4918, allocations: 0.8132 MB / 0.6437 GB, free: 15.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/0.4919, allocations: 106.8 kB / 0.6438 GB, free: 15.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005204/0.4924, allocations: 333.5 kB / 0.6441 GB, free: 15.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/0.4924, allocations: 29.7 kB / 0.6441 GB, free: 15.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.4927, allocations: 240.2 kB / 0.6444 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.4928, allocations: 83.28 kB / 0.6445 GB, free: 15.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.493, allocations: 85.38 kB / 0.6445 GB, free: 14.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.4932, allocations: 346.8 kB / 0.6449 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/0.4937, allocations: 160.8 kB / 0.645 GB, free: 14.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005858/0.4942, allocations: 315.7 kB / 0.6453 GB, free: 14.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009248/0.4952, allocations: 405.9 kB / 0.6457 GB, free: 13.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4952, allocations: 4 kB / 0.6457 GB, free: 13.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001216/0.4964, allocations: 482 kB / 0.6462 GB, free: 13.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.4964, allocations: 4 kB / 0.6462 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.4964, allocations: 4 kB / 0.6462 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.4965, allocations: 4 kB / 0.6462 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.4969, allocations: 104.1 kB / 0.6463 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.4969, allocations: 7.938 kB / 0.6463 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.4973, allocations: 55.64 kB / 0.6463 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.4973, allocations: 23.92 kB / 0.6464 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005694/0.4979, allocations: 272 kB / 0.6466 GB, free: 12.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005439/0.4985, allocations: 311 kB / 0.6469 GB, free: 12.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009718/0.4994, allocations: 394.2 kB / 0.6473 GB, free: 11.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/0.4994, allocations: 0 / 0.6473 GB, free: 11.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001151/0.5006, allocations: 477.2 kB / 0.6478 GB, free: 11.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.5006, allocations: 8.031 kB / 0.6478 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5006, allocations: 4 kB / 0.6478 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.5006, allocations: 4 kB / 0.6478 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.501, allocations: 95.86 kB / 0.6479 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.501, allocations: 4 kB / 0.6479 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.5014, allocations: 47.81 kB / 0.6479 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.5014, allocations: 19.98 kB / 0.6479 GB, free: 11.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0002005/0.5016, allocations: 208.1 kB / 0.6481 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.822e-05/0.5017, allocations: 39.7 kB / 0.6482 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/0.5046, allocations: 2.023 MB / 0.6501 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5046, allocations: 0 / 0.6501 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5046, allocations: 0 / 0.6501 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.5049, allocations: 135.1 kB / 0.6503 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.33e-05/0.505, allocations: 23.78 kB / 0.6503 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.5054, allocations: 43.94 kB / 0.6503 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/0.5055, allocations: 31.94 kB / 0.6504 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00178/0.5072, allocations: 1.141 MB / 0.6515 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00173/0.509, allocations: 1.221 MB / 0.6527 GB, free: 6.406 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006593/0.5096, allocations: 413.8 kB / 0.6531 GB, free: 6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005091/0.5101, allocations: 331.1 kB / 0.6534 GB, free: 5.676 MB / 494.1 MB Notification: Performance of Backend: time 6.51e-07/0.5101, allocations: 0 / 0.6534 GB, free: 5.676 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008454/0.5186, allocations: 1.998 MB / 0.6553 GB, free: 3.668 MB / 494.1 MB Notification: Performance of SimCode: time 0.002498/0.5211, allocations: 1.683 MB / 0.657 GB, free: 1.945 MB / 494.1 MB Notification: Performance of Templates: time 0.07089/0.592, allocations: 48.38 MB / 0.7042 GB, free: 1.703 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestCheckValve/TestCheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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: 7.989175524999155]