Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.BranchingPipes15,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.BranchingPipes15") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,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.BranchingPipes15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 115.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2115/0.2115, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 71.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3088, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15): time 0.5101/0.8189, allocations: 237.1 MB / 0.7632 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02096/0.8399, allocations: 16.64 MB / 0.7795 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002645/0.8426, allocations: 95.47 kB / 0.7795 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.8448, allocations: 0.9199 MB / 0.7804 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009596/0.8545, allocations: 4.005 MB / 0.7844 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.8651, allocations: 5.223 MB / 0.7895 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007704/0.8728, allocations: 6.589 MB / 0.7959 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002371/0.8752, allocations: 1.522 MB / 0.7974 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004709/0.8799, allocations: 2.579 MB / 0.7999 GB, free: 484 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004169/0.8841, allocations: 2.46 MB / 0.8023 GB, free: 15.72 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0005384/0.8846, allocations: 218.8 kB / 0.8025 GB, free: 15.72 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00706/0.8917, allocations: 3.428 MB / 0.8059 GB, free: 14.99 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.8928, allocations: 0.9231 MB / 0.8068 GB, free: 14.48 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.8947, allocations: 1.307 MB / 0.808 GB, free: 13.67 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.009234/0.904, allocations: 5.211 MB / 0.8131 GB, free: 9.98 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.904, allocations: 0 / 0.8131 GB, free: 9.98 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.302e-06/0.904, allocations: 0 / 0.8131 GB, free: 9.98 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 3.648e-05/0.9041, allocations: 0 / 0.8131 GB, free: 9.98 MB / 0.5763 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.006911/0.911, allocations: 3.312 MB / 0.8164 GB, free: 6.656 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.911, allocations: 20.02 kB / 0.8164 GB, free: 6.637 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002555/0.9136, allocations: 424.8 kB / 0.8168 GB, free: 6.219 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003471/0.9171, allocations: 2.06 MB / 0.8188 GB, free: 4.277 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.9172, allocations: 137 kB / 0.8189 GB, free: 4.152 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002931/0.9175, allocations: 160.7 kB / 0.8191 GB, free: 4.004 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003936/0.9214, allocations: 2.565 MB / 0.8216 GB, free: 1.371 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/0.9215, allocations: 7.188 kB / 0.8216 GB, free: 1.367 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/0.9217, allocations: 68.36 kB / 0.8216 GB, free: 1.309 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002224/0.9219, allocations: 186.1 kB / 0.8218 GB, free: 1.129 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003645/0.9256, allocations: 2.248 MB / 0.824 GB, free: 14.9 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.01433/0.9399, allocations: 10.74 MB / 0.8345 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/0.9428, allocations: 1.772 MB / 0.8362 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.9443, allocations: 1.061 MB / 0.8373 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008251/0.9452, allocations: 0.5063 MB / 0.8378 GB, free: 116 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001947/0.9471, allocations: 1.281 MB / 0.839 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=162): time 3.888e-06/0.9472, allocations: 4 kB / 0.839 GB, free: 14.79 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.02572/0.9729, allocations: 10.64 MB / 0.8494 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.973, allocations: 295 kB / 0.8497 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.9751, allocations: 1.572 MB / 0.8512 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002344/0.9754, allocations: 65.7 kB / 0.8513 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007345/0.9761, allocations: 0.8802 MB / 0.8522 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000544/0.9767, allocations: 0.6228 MB / 0.8528 GB, free: 496 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000763/0.9774, allocations: 483.5 kB / 0.8532 GB, free: 4 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.9776, allocations: 305.1 kB / 0.8535 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.9794, allocations: 1.07 MB / 0.8546 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.9816, allocations: 1.546 MB / 0.8561 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004064/0.9857, allocations: 2.757 MB / 0.8588 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.9857, allocations: 4 kB / 0.8588 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005442/0.9912, allocations: 3.22 MB / 0.8619 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.118e-05/0.9913, allocations: 75.39 kB / 0.862 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.9913, allocations: 15.98 kB / 0.862 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004541/0.9917, allocations: 191.9 kB / 0.8622 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002362/0.9941, allocations: 0.5509 MB / 0.8627 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.9957, allocations: 2.331 MB / 0.865 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.9975, allocations: 127.8 kB / 0.8651 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/0.9978, allocations: 188 kB / 0.8653 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002352/1, allocations: 1.417 MB / 0.8667 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002062/1.002, allocations: 1.473 MB / 0.8681 GB, free: 172 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00376/1.006, allocations: 2.609 MB / 0.8707 GB, free: 13.42 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.034e-05/1.006, allocations: 4 kB / 0.8707 GB, free: 13.42 MB / 0.6388 GB Notification: Performance of matching and sorting (n=269) (initialization_lambda0): time 0.005205/1.011, allocations: 3.065 MB / 0.8737 GB, free: 10.39 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 6.306e-05/1.011, allocations: 79.33 kB / 0.8737 GB, free: 10.3 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/1.011, allocations: 10.62 kB / 0.8738 GB, free: 10.29 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004101/1.012, allocations: 195.8 kB / 0.8739 GB, free: 10.09 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/1.014, allocations: 0.5465 MB / 0.8745 GB, free: 9.566 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/1.016, allocations: 2.324 MB / 0.8767 GB, free: 7.152 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/1.018, allocations: 116.2 kB / 0.8769 GB, free: 7.039 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000317/1.018, allocations: 195.9 kB / 0.877 GB, free: 6.848 MB / 0.6388 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.0007117/1.019, allocations: 383.8 kB / 0.8774 GB, free: 6.484 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004976/1.019, allocations: 217.4 kB / 0.8776 GB, free: 6.27 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007976/1.027, allocations: 4.65 MB / 0.8822 GB, free: 1.602 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004182/1.031, allocations: 2.784 MB / 0.8849 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/1.031, allocations: 0 / 0.8849 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/1.032, allocations: 0.5216 MB / 0.8854 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000483/1.033, allocations: 48 kB / 0.8854 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.034, allocations: 71.94 kB / 0.8855 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003355/1.034, allocations: 153.8 kB / 0.8856 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005896/1.04, allocations: 3.058 MB / 0.8886 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006439/1.047, allocations: 4.306 MB / 0.8928 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001688/1.049, allocations: 1.234 MB / 0.894 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001601/1.05, allocations: 1.068 MB / 0.8951 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of Backend: time 5.81e-07/1.05, allocations: 0 / 0.8951 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009937/1.06, allocations: 4.732 MB / 0.8997 GB, free: 15.6 MB / 0.67 GB Notification: Performance of SimCode: time 0.008641/1.069, allocations: 5.14 MB / 0.9047 GB, free: 10.41 MB / 0.67 GB Notification: Performance of Templates: time 0.1072/1.176, allocations: 73.64 MB / 0.9766 GB, free: 1.164 MB / 0.7325 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes15/BranchingPipes15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches