Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=5000,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_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 114.9 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 214.8 kB / 19.41 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 76.16 kB / 482 MB, free: 4.129 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2967, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16): time 0.5041/0.8008, allocations: 237.1 MB / 0.7632 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02157/0.8224, allocations: 16.63 MB / 0.7794 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002612/0.8251, allocations: 93.34 kB / 0.7795 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.8272, allocations: 0.921 MB / 0.7804 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009291/0.8365, allocations: 4.008 MB / 0.7843 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0112/0.8477, allocations: 5.222 MB / 0.7894 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008188/0.8559, allocations: 6.584 MB / 0.7959 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002543/0.8585, allocations: 1.524 MB / 0.7974 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004985/0.8635, allocations: 2.574 MB / 0.7999 GB, free: 480 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00445/0.868, allocations: 2.463 MB / 0.8023 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000638/0.8686, allocations: 220.1 kB / 0.8025 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007711/0.8764, allocations: 3.427 MB / 0.8058 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.8778, allocations: 0.9286 MB / 0.8067 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.88, allocations: 1.308 MB / 0.808 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009857/0.8899, allocations: 5.209 MB / 0.8131 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.381e-06/0.89, allocations: 4 kB / 0.8131 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.128e-06/0.89, allocations: 4 kB / 0.8131 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.001e-05/0.89, allocations: 2.438 kB / 0.8131 GB, free: 9.965 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.007811/0.8979, allocations: 3.313 MB / 0.8164 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.8979, allocations: 8.031 kB / 0.8164 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003023/0.9009, allocations: 432.8 kB / 0.8168 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004294/0.9053, allocations: 2.053 MB / 0.8188 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.9054, allocations: 136.1 kB / 0.8189 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.9057, allocations: 162.9 kB / 0.8191 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004042/0.9098, allocations: 2.564 MB / 0.8216 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/0.9099, allocations: 6.531 kB / 0.8216 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/0.9101, allocations: 70.94 kB / 0.8216 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002335/0.9103, allocations: 185.5 kB / 0.8218 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/0.9139, allocations: 2.248 MB / 0.824 GB, free: 14.89 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.01415/0.9281, allocations: 10.74 MB / 0.8345 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.931, allocations: 1.782 MB / 0.8362 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.9326, allocations: 1.055 MB / 0.8373 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008263/0.9334, allocations: 0.511 MB / 0.8378 GB, free: 96 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001963/0.9354, allocations: 1.284 MB / 0.839 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=162): time 3.827e-06/0.9354, allocations: 0 / 0.839 GB, free: 14.77 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.0255/0.9609, allocations: 10.63 MB / 0.8494 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.9611, allocations: 287 kB / 0.8497 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002005/0.9631, allocations: 1.58 MB / 0.8512 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002353/0.9634, allocations: 65.7 kB / 0.8513 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007098/0.9641, allocations: 0.8801 MB / 0.8522 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005307/0.9646, allocations: 0.6179 MB / 0.8528 GB, free: 484 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007452/0.9654, allocations: 484.9 kB / 0.8532 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.9655, allocations: 305.1 kB / 0.8535 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.9673, allocations: 1.062 MB / 0.8545 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.9695, allocations: 1.548 MB / 0.8561 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00397/0.9734, allocations: 2.757 MB / 0.8588 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.9735, allocations: 4 kB / 0.8588 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005519/0.979, allocations: 3.221 MB / 0.8619 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.9791, allocations: 79.38 kB / 0.862 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.9791, allocations: 12 kB / 0.862 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.9796, allocations: 199 kB / 0.8622 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.9819, allocations: 0.5547 MB / 0.8627 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.9833, allocations: 2.324 MB / 0.865 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.9852, allocations: 124 kB / 0.8651 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003249/0.9855, allocations: 192 kB / 0.8653 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002405/0.9879, allocations: 1.417 MB / 0.8667 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002092/0.99, allocations: 1.473 MB / 0.8681 GB, free: 160 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00388/0.9939, allocations: 2.61 MB / 0.8707 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.267e-06/0.994, allocations: 4 kB / 0.8707 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=269) (initialization_lambda0): time 0.005353/0.9993, allocations: 3.064 MB / 0.8737 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/0.9994, allocations: 79.33 kB / 0.8737 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.9994, allocations: 16 kB / 0.8737 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004246/0.9999, allocations: 195.3 kB / 0.8739 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/1.002, allocations: 0.547 MB / 0.8745 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/1.004, allocations: 2.328 MB / 0.8767 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/1.006, allocations: 116.1 kB / 0.8769 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003291/1.006, allocations: 191.9 kB / 0.877 GB, free: 6.832 MB / 0.6387 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.0007143/1.007, allocations: 383.2 kB / 0.8774 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005084/1.007, allocations: 213.4 kB / 0.8776 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008024/1.015, allocations: 4.648 MB / 0.8821 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004194/1.019, allocations: 2.774 MB / 0.8849 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.019, allocations: 7.188 kB / 0.8849 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.021, allocations: 0.5294 MB / 0.8854 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005402/1.021, allocations: 44 kB / 0.8854 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/1.023, allocations: 71.94 kB / 0.8855 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/1.023, allocations: 153.8 kB / 0.8856 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006093/1.029, allocations: 3.062 MB / 0.8886 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00673/1.036, allocations: 4.304 MB / 0.8928 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001827/1.038, allocations: 1.238 MB / 0.894 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001669/1.039, allocations: 1.064 MB / 0.8951 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of Backend: time 5.41e-07/1.039, allocations: 0 / 0.8951 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.05, allocations: 4.742 MB / 0.8997 GB, free: 15.57 MB / 0.67 GB Notification: Performance of SimCode: time 0.009221/1.06, allocations: 5.132 MB / 0.9047 GB, free: 10.39 MB / 0.67 GB Notification: Performance of Templates: time 0.1073/1.167, allocations: 73.64 MB / 0.9766 GB, free: 1.148 MB / 0.7325 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes16/BranchingPipes16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches