Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.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.001313/0.001313, allocations: 102.8 kB / 21.19 MB, free: 0.6367 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.00145/0.00145, allocations: 217.3 kB / 24.49 MB, free: 3.926 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2336/0.2336, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.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_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_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 75.83 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3098, allocations: 66.04 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16): time 0.5426/0.8524, allocations: 207.5 MB / 0.7645 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02234/0.8748, allocations: 15.45 MB / 0.7795 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002732/0.8775, allocations: 130.2 kB / 0.7797 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.8798, allocations: 0.8986 MB / 0.7806 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.8899, allocations: 4.169 MB / 0.7846 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01215/0.9021, allocations: 5.613 MB / 0.7901 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008568/0.9107, allocations: 6.928 MB / 0.7969 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002859/0.9135, allocations: 1.363 MB / 0.7982 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005489/0.919, allocations: 2.684 MB / 0.8008 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004825/0.9238, allocations: 2.67 MB / 0.8034 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00098/0.9248, allocations: 222.3 kB / 0.8036 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007859/0.9327, allocations: 3.023 MB / 0.8066 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001709/0.9344, allocations: 0.9609 MB / 0.8075 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002775/0.9372, allocations: 1.091 MB / 0.8086 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.9485, allocations: 5.179 MB / 0.8137 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.9485, allocations: 9.125 kB / 0.8137 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9485, allocations: 0 / 0.8137 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001279/0.9486, allocations: 0 / 0.8137 GB, free: 14.46 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.009809/0.9584, allocations: 3.323 MB / 0.8169 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.9585, allocations: 12.48 kB / 0.8169 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003132/0.9616, allocations: 437.4 kB / 0.8173 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004933/0.9666, allocations: 1.976 MB / 0.8193 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.9667, allocations: 125.9 kB / 0.8194 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000544/0.9672, allocations: 167.8 kB / 0.8195 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005493/0.9727, allocations: 3.139 MB / 0.8226 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.154e-05/0.9728, allocations: 5.156 kB / 0.8226 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002755/0.9731, allocations: 68.42 kB / 0.8227 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002462/0.9733, allocations: 193.8 kB / 0.8229 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004221/0.9775, allocations: 2.296 MB / 0.8251 GB, free: 7.277 MB / 0.5762 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.01509/0.9926, allocations: 7.577 MB / 0.8325 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/0.996, allocations: 1.521 MB / 0.834 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.9978, allocations: 1.043 MB / 0.835 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007867/0.9986, allocations: 125.2 kB / 0.8351 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00251/1.001, allocations: 1.659 MB / 0.8368 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=162): time 4.809e-06/1.001, allocations: 0 / 0.8368 GB, free: 12.79 MB / 0.5919 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.02952/1.031, allocations: 10.49 MB / 0.847 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001788/1.031, allocations: 295 kB / 0.8473 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/1.033, allocations: 1.313 MB / 0.8486 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003274/1.033, allocations: 57.7 kB / 0.8486 GB, free: 468 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008668/1.034, allocations: 0.9073 MB / 0.8495 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007216/1.035, allocations: 0.6538 MB / 0.8501 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008678/1.036, allocations: 483.6 kB / 0.8506 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.036, allocations: 305.1 kB / 0.8509 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/1.038, allocations: 1.125 MB / 0.852 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/1.04, allocations: 1.95 MB / 0.8539 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004422/1.045, allocations: 2.776 MB / 0.8566 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/1.045, allocations: 4 kB / 0.8566 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.006037/1.051, allocations: 3.279 MB / 0.8598 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.657e-05/1.051, allocations: 78.55 kB / 0.8599 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/1.051, allocations: 8 kB / 0.8599 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005222/1.052, allocations: 199.3 kB / 0.8601 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/1.054, allocations: 0.5505 MB / 0.8606 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/1.056, allocations: 2.331 MB / 0.8629 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/1.058, allocations: 120.1 kB / 0.863 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004123/1.058, allocations: 192 kB / 0.8632 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002825/1.061, allocations: 1.477 MB / 0.8646 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002657/1.064, allocations: 1.86 MB / 0.8665 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004381/1.068, allocations: 2.621 MB / 0.869 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.829e-05/1.068, allocations: 10.56 kB / 0.869 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=269) (initialization_lambda0): time 0.006204/1.074, allocations: 3.128 MB / 0.8721 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.428e-05/1.074, allocations: 71.39 kB / 0.8721 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/1.075, allocations: 12 kB / 0.8722 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004649/1.075, allocations: 193.9 kB / 0.8723 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/1.077, allocations: 0.5471 MB / 0.8729 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/1.079, allocations: 2.327 MB / 0.8751 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/1.081, allocations: 120.2 kB / 0.8753 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004011/1.082, allocations: 191.9 kB / 0.8754 GB, free: 3.996 MB / 0.6231 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.0008913/1.083, allocations: 385 kB / 0.8758 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006305/1.083, allocations: 198.8 kB / 0.876 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009037/1.092, allocations: 4.7 MB / 0.8806 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004711/1.097, allocations: 2.844 MB / 0.8834 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/1.097, allocations: 0 / 0.8834 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/1.098, allocations: 450.4 kB / 0.8838 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000524/1.099, allocations: 55.98 kB / 0.8839 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/1.1, allocations: 71.88 kB / 0.8839 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003318/1.101, allocations: 157.7 kB / 0.8841 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006951/1.108, allocations: 3.121 MB / 0.8871 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007776/1.115, allocations: 4.417 MB / 0.8914 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001919/1.117, allocations: 1.167 MB / 0.8926 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001627/1.119, allocations: 0.8588 MB / 0.8934 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of Backend: time 4.11e-07/1.119, allocations: 4 kB / 0.8934 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.13, allocations: 4.53 MB / 0.8978 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of SimCode: time 0.009609/1.14, allocations: 5.04 MB / 0.9028 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.1159/1.256, allocations: 74.2 MB / 0.9752 GB, free: 14.27 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes16/BranchingPipes16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.083018889999948]