Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.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.001594/0.001594, allocations: 110.3 kB / 21.18 MB, free: 0.6289 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.00145/0.00145, allocations: 207.1 kB / 24.48 MB, free: 4.035 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.457/1.457, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2264/0.2264, allocations: 46.89 MB / 361.1 MB, free: 4.625 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.TestPipesAndValves.BranchingPipes18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|junctionIdeal.medium.h|junctionIdeal.medium.p|junctionVolume.medium.h|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|junctionIdeal.medium.h|junctionIdeal.medium.p|junctionVolume.medium.h|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18") [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.002324/0.002324, allocations: 83.84 kB / 0.4968 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.287, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18): time 0.1184/0.4054, allocations: 114 MB / 0.6726 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.05528/0.4607, allocations: 39.16 MB / 0.7108 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002732/0.4634, allocations: 99.44 kB / 0.7109 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003446/0.4668, allocations: 1.379 MB / 0.7122 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.02096/0.4878, allocations: 8.481 MB / 0.7205 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02011/0.5079, allocations: 8.166 MB / 0.7285 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01119/0.5191, allocations: 7.532 MB / 0.7359 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003342/0.5224, allocations: 1.526 MB / 0.7374 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2799/0.8023, allocations: 2.97 MB / 0.7403 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02232/0.8247, allocations: 12.54 MB / 0.7525 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001669/0.8263, allocations: 262.3 kB / 0.7527 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01981/0.8461, allocations: 10.29 MB / 0.7628 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002017/0.8482, allocations: 1.053 MB / 0.7638 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002646/0.8508, allocations: 1.588 MB / 0.7654 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.018/0.8688, allocations: 9.833 MB / 0.775 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8688, allocations: 0 / 0.775 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8688, allocations: 0 / 0.775 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.314e-05/0.8689, allocations: 0 / 0.775 GB, free: 9.633 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 575 * Number of variables: 575 Notification: Performance of Generate backend data structure: time 0.0104/0.8793, allocations: 4.578 MB / 0.7794 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.8793, allocations: 11.59 kB / 0.7795 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006051/0.8854, allocations: 0.8714 MB / 0.7803 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/0.8956, allocations: 6.821 MB / 0.787 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.8958, allocations: 196.4 kB / 0.7872 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003982/0.8962, allocations: 225.8 kB / 0.7874 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008388/0.9046, allocations: 3.789 MB / 0.7911 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.754e-05/0.9046, allocations: 11.19 kB / 0.7911 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/0.9049, allocations: 96.67 kB / 0.7912 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002443/0.9051, allocations: 208.1 kB / 0.7914 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007858/0.913, allocations: 3.518 MB / 0.7948 GB, free: 5.316 MB / 0.5606 GB 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.02132/0.9343, allocations: 16.81 MB / 0.8112 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007292/0.9416, allocations: 2.975 MB / 0.8141 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002479/0.9441, allocations: 1.27 MB / 0.8154 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05854/1.003, allocations: 27.14 MB / 0.8419 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00591/1.009, allocations: 1.836 MB / 0.8437 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=192): time 6.161e-06/1.009, allocations: 0 / 0.8437 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=212): time 0.0313/1.04, allocations: 10 MB / 0.8534 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/1.04, allocations: 185.3 kB / 0.8536 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/1.043, allocations: 1.701 MB / 0.8553 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000368/1.043, allocations: 62.95 kB / 0.8553 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/1.044, allocations: 1.075 MB / 0.8564 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009178/1.045, allocations: 0.7418 MB / 0.8571 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/1.046, allocations: 0.4928 MB / 0.8576 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.046, allocations: 309 kB / 0.8579 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/1.049, allocations: 1.282 MB / 0.8591 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003477/1.053, allocations: 1.843 MB / 0.8609 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005985/1.059, allocations: 3.251 MB / 0.8641 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/1.059, allocations: 4 kB / 0.8641 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.0087/1.067, allocations: 3.817 MB / 0.8678 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.26e-05/1.067, allocations: 75.39 kB / 0.8679 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/1.067, allocations: 16 kB / 0.8679 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/1.069, allocations: 346.5 kB / 0.8683 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/1.072, allocations: 0.5901 MB / 0.8688 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/1.074, allocations: 3.101 MB / 0.8719 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/1.077, allocations: 156 kB / 0.872 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004397/1.077, allocations: 124 kB / 0.8721 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003979/1.081, allocations: 1.711 MB / 0.8738 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003428/1.085, allocations: 1.771 MB / 0.8755 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006257/1.091, allocations: 3.112 MB / 0.8786 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.787e-05/1.091, allocations: 4 kB / 0.8786 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of matching and sorting (n=312) (initialization_lambda0): time 0.009013/1.1, allocations: 3.669 MB / 0.8822 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.733e-05/1.1, allocations: 77.58 kB / 0.8822 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.589e-05/1.1, allocations: 16 kB / 0.8822 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/1.101, allocations: 346.3 kB / 0.8826 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/1.104, allocations: 0.5879 MB / 0.8832 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/1.107, allocations: 3.105 MB / 0.8862 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/1.11, allocations: 152.2 kB / 0.8863 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006166/1.11, allocations: 120 kB / 0.8864 GB, free: 14.82 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 31 (valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.state_a.phase,junctionVolume.medium.phase,junctionIdeal.medium.phase,valveOpening2.nextEventScaled,valveOpening2.nextEvent,$PRE.valveOpening2.nextEvent,valveOpening2.last,valveOpening2.b,valveOpening2.a,valveOpening1.nextEventScaled,valveOpening1.nextEvent,$PRE.valveOpening1.nextEvent,valveOpening1.last,valveOpening1.b,valveOpening1.a,pipe3.statesFM[2].phase,pipe2.statesFM[2].phase,sink.medium.phase,pipe1.statesFM[2].phase,source.medium.phase,$whenCondition2,$whenCondition1,pipe3.state_a.phase,pipe2.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 285 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,1), (1,1), (1,6), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00127/1.111, allocations: 411.2 kB / 0.8868 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00096/1.112, allocations: 254.4 kB / 0.8871 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/1.127, allocations: 8.162 MB / 0.895 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01163/1.139, allocations: 7.114 MB / 0.902 GB, free: 14.65 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/1.139, allocations: 7.984 kB / 0.902 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001901/1.141, allocations: 0.7047 MB / 0.9027 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008244/1.142, allocations: 95.61 kB / 0.9028 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.144, allocations: 151.8 kB / 0.9029 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004931/1.144, allocations: 173.8 kB / 0.9031 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01174/1.156, allocations: 5.417 MB / 0.9084 GB, free: 8.016 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01363/1.17, allocations: 7.707 MB / 0.9159 GB, free: 196 kB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003706/1.173, allocations: 2.005 MB / 0.9179 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002424/1.176, allocations: 1.321 MB / 0.9192 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of Backend: time 4.11e-07/1.176, allocations: 0 / 0.9192 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02119/1.197, allocations: 6.382 MB / 0.9254 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of SimCode: time 0.01436/1.211, allocations: 7.147 MB / 0.9324 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of Templates: time 0.394/1.605, allocations: 112.6 MB / 1.042 GB, free: 339.6 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes18/BranchingPipes18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.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: 12.272170247044414]