Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.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.001513/0.001513, allocations: 114.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.001726/0.001726, allocations: 210.9 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.477/1.477, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2389/0.2389, allocations: 46.89 MB / 361.1 MB, free: 4.641 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.BranchingPipes16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|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.BranchingPipes16") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|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.BranchingPipes16") [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.002292/0.002292, allocations: 75.88 kB / 0.4968 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3756, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16): time 0.6062/0.9818, allocations: 238.5 MB / 0.7941 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02666/1.008, allocations: 16.74 MB / 0.8105 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003452/1.012, allocations: 93.44 kB / 0.8106 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003065/1.015, allocations: 0.946 MB / 0.8115 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01054/1.026, allocations: 4.057 MB / 0.8154 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01158/1.037, allocations: 5.244 MB / 0.8206 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008869/1.046, allocations: 6.591 MB / 0.827 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002641/1.049, allocations: 1.356 MB / 0.8283 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005408/1.054, allocations: 2.583 MB / 0.8308 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005342/1.059, allocations: 2.655 MB / 0.8334 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006634/1.06, allocations: 220.5 kB / 0.8337 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009135/1.069, allocations: 3.486 MB / 0.8371 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001702/1.071, allocations: 0.9488 MB / 0.838 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002455/1.073, allocations: 1.304 MB / 0.8393 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01198/1.085, allocations: 5.236 MB / 0.8444 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.085, allocations: 4 kB / 0.8444 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.664e-06/1.085, allocations: 4 kB / 0.8444 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.17e-05/1.085, allocations: 0 / 0.8444 GB, free: 1.047 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.00893/1.094, allocations: 3.41 MB / 0.8477 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.094, allocations: 8.031 kB / 0.8477 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00276/1.097, allocations: 446.1 kB / 0.8481 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004755/1.102, allocations: 2.073 MB / 0.8502 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/1.102, allocations: 136.1 kB / 0.8503 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003504/1.102, allocations: 171.2 kB / 0.8505 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004731/1.107, allocations: 2.563 MB / 0.853 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.904e-05/1.107, allocations: 7.188 kB / 0.853 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/1.107, allocations: 67.02 kB / 0.853 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002809/1.108, allocations: 190.1 kB / 0.8532 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004243/1.112, allocations: 2.243 MB / 0.8554 GB, free: 5.836 MB / 0.5919 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.01659/1.128, allocations: 10.75 MB / 0.8659 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00314/1.132, allocations: 1.688 MB / 0.8676 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/1.133, allocations: 0.9842 MB / 0.8685 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009173/1.134, allocations: 0.5027 MB / 0.869 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002174/1.136, allocations: 1.289 MB / 0.8703 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=162): time 3.607e-06/1.136, allocations: 0 / 0.8703 GB, free: 5.867 MB / 0.6075 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T 4: junctionIdeal.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.02844/1.165, allocations: 10.7 MB / 0.8807 GB, free: 11 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001894/1.165, allocations: 287 kB / 0.881 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/1.167, allocations: 1.576 MB / 0.8825 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002927/1.168, allocations: 65.7 kB / 0.8826 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008419/1.168, allocations: 0.9005 MB / 0.8835 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006493/1.169, allocations: 0.6512 MB / 0.8841 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008228/1.17, allocations: 483.6 kB / 0.8846 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.17, allocations: 301.1 kB / 0.8849 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/1.172, allocations: 1.063 MB / 0.8859 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/1.174, allocations: 1.553 MB / 0.8874 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004484/1.179, allocations: 2.757 MB / 0.8901 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/1.179, allocations: 4 kB / 0.8901 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005991/1.185, allocations: 3.235 MB / 0.8933 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.978e-05/1.185, allocations: 71.39 kB / 0.8933 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/1.185, allocations: 12 kB / 0.8933 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005041/1.186, allocations: 191.7 kB / 0.8935 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/1.188, allocations: 0.5569 MB / 0.8941 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/1.19, allocations: 2.327 MB / 0.8963 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/1.192, allocations: 116.1 kB / 0.8964 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003641/1.192, allocations: 199 kB / 0.8966 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002692/1.195, allocations: 1.414 MB / 0.898 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002359/1.197, allocations: 1.47 MB / 0.8995 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004204/1.201, allocations: 2.613 MB / 0.902 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.097e-06/1.201, allocations: 7.938 kB / 0.902 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of matching and sorting (n=269) (initialization_lambda0): time 0.006254/1.208, allocations: 3.077 MB / 0.905 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.172e-05/1.208, allocations: 77.42 kB / 0.9051 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/1.208, allocations: 8 kB / 0.9051 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004643/1.208, allocations: 193.9 kB / 0.9053 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/1.211, allocations: 0.5467 MB / 0.9058 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/1.212, allocations: 2.333 MB / 0.9081 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/1.214, allocations: 112.1 kB / 0.9082 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/1.215, allocations: 188 kB / 0.9084 GB, free: 13.82 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 14 (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,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0007895/1.216, allocations: 380.9 kB / 0.9087 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004871/1.216, allocations: 226.6 kB / 0.909 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008322/1.224, allocations: 4.659 MB / 0.9135 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004463/1.229, allocations: 2.77 MB / 0.9162 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.229, allocations: 4 kB / 0.9162 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/1.23, allocations: 0.5409 MB / 0.9167 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004615/1.231, allocations: 51.92 kB / 0.9168 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.232, allocations: 71.94 kB / 0.9169 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003064/1.232, allocations: 149.8 kB / 0.917 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006376/1.239, allocations: 3.061 MB / 0.92 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007207/1.246, allocations: 4.314 MB / 0.9242 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001808/1.248, allocations: 1.101 MB / 0.9253 GB, free: 12.33 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00169/1.249, allocations: 1.067 MB / 0.9263 GB, free: 11.27 MB / 0.67 GB Notification: Performance of Backend: time 1.9e-07/1.249, allocations: 0 / 0.9263 GB, free: 11.27 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01088/1.26, allocations: 4.427 MB / 0.9307 GB, free: 6.98 MB / 0.67 GB Notification: Performance of SimCode: time 0.01049/1.271, allocations: 5.206 MB / 0.9357 GB, free: 1.723 MB / 0.67 GB Notification: Performance of Templates: time 0.1244/1.395, allocations: 74.01 MB / 1.008 GB, free: 8.102 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes16/BranchingPipes16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.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.940731226932257]