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.001579/0.001579, allocations: 112.1 kB / 18.45 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001923/0.001924, allocations: 206.8 kB / 19.4 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2017/0.2017, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2973, allocations: 62.44 MB / 0.5317 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15): time 0.5077/0.805, allocations: 237.1 MB / 0.7632 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.8262, allocations: 16.63 MB / 0.7794 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/0.8286, allocations: 95.53 kB / 0.7795 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.8307, allocations: 0.9244 MB / 0.7804 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009149/0.8399, allocations: 4.053 MB / 0.7844 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01079/0.8507, allocations: 5.221 MB / 0.7895 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007692/0.8584, allocations: 6.605 MB / 0.7959 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002231/0.8607, allocations: 1.518 MB / 0.7974 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004709/0.8654, allocations: 2.595 MB / 0.8 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00461/0.87, allocations: 2.538 MB / 0.8024 GB, free: 0 / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005271/0.8706, allocations: 220 kB / 0.8027 GB, free: 0 / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007402/0.878, allocations: 3.441 MB / 0.806 GB, free: 15 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.8792, allocations: 0.9177 MB / 0.8069 GB, free: 14.39 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.001985/0.8812, allocations: 1.31 MB / 0.8082 GB, free: 13.58 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.008971/0.8902, allocations: 5.239 MB / 0.8133 GB, free: 9.867 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.8902, allocations: 0 / 0.8133 GB, free: 9.867 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8902, allocations: 0 / 0.8133 GB, free: 9.867 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.627e-05/0.8902, allocations: 4 kB / 0.8133 GB, free: 9.863 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.006564/0.8968, allocations: 3.4 MB / 0.8166 GB, free: 6.441 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.8969, allocations: 8.031 kB / 0.8166 GB, free: 6.434 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.8993, allocations: 445.7 kB / 0.8171 GB, free: 6 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/0.9027, allocations: 2.074 MB / 0.8191 GB, free: 4.043 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.9028, allocations: 137 kB / 0.8192 GB, free: 3.918 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002708/0.9031, allocations: 163 kB / 0.8194 GB, free: 3.77 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003755/0.9069, allocations: 2.564 MB / 0.8219 GB, free: 1.137 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.9069, allocations: 6.625 kB / 0.8219 GB, free: 1.133 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.9071, allocations: 67.02 kB / 0.8219 GB, free: 1.078 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002151/0.9073, allocations: 197.5 kB / 0.8221 GB, free: 0.8867 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003542/0.9109, allocations: 2.237 MB / 0.8243 GB, free: 14.67 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.01307/0.924, allocations: 10.75 MB / 0.8348 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002806/0.9268, allocations: 1.775 MB / 0.8366 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.9283, allocations: 1.058 MB / 0.8376 GB, free: 468 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008057/0.9291, allocations: 0.5061 MB / 0.8381 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001839/0.9309, allocations: 1.29 MB / 0.8393 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=162): time 5.35e-06/0.9309, allocations: 0 / 0.8393 GB, free: 14.54 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.02454/0.9555, allocations: 10.69 MB / 0.8498 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.9556, allocations: 279 kB / 0.8501 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.9575, allocations: 1.576 MB / 0.8516 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001895/0.9577, allocations: 65.69 kB / 0.8517 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006662/0.9584, allocations: 0.8978 MB / 0.8525 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004943/0.9589, allocations: 0.6568 MB / 0.8532 GB, free: 148 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007543/0.9597, allocations: 490.9 kB / 0.8536 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.9597, allocations: 305.1 kB / 0.8539 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.9615, allocations: 1.059 MB / 0.855 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/0.9637, allocations: 1.547 MB / 0.8565 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003916/0.9676, allocations: 2.761 MB / 0.8592 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.9677, allocations: 4 kB / 0.8592 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005353/0.973, allocations: 3.23 MB / 0.8623 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/0.9731, allocations: 75.39 kB / 0.8624 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.9731, allocations: 12.56 kB / 0.8624 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004592/0.9736, allocations: 194.6 kB / 0.8626 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/0.9759, allocations: 0.5505 MB / 0.8631 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.9773, allocations: 2.332 MB / 0.8654 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.9791, allocations: 107.9 kB / 0.8655 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003332/0.9795, allocations: 192 kB / 0.8657 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002295/0.9818, allocations: 1.418 MB / 0.8671 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002011/0.9838, allocations: 1.485 MB / 0.8685 GB, free: 15.82 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003656/0.9875, allocations: 2.609 MB / 0.8711 GB, free: 13.07 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.908e-06/0.9875, allocations: 4 kB / 0.8711 GB, free: 13.07 MB / 0.6388 GB Notification: Performance of matching and sorting (n=269) (initialization_lambda0): time 0.005108/0.9926, allocations: 3.077 MB / 0.8741 GB, free: 10.03 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/0.9927, allocations: 79.38 kB / 0.8742 GB, free: 9.941 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.9927, allocations: 12 kB / 0.8742 GB, free: 9.93 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/0.9931, allocations: 191.9 kB / 0.8744 GB, free: 9.73 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/0.9954, allocations: 0.5391 MB / 0.8749 GB, free: 9.219 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.9968, allocations: 2.332 MB / 0.8772 GB, free: 6.797 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.9986, allocations: 115.9 kB / 0.8773 GB, free: 6.684 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003195/0.9989, allocations: 188 kB / 0.8775 GB, free: 6.5 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.0007488/0.9997, allocations: 384.2 kB / 0.8778 GB, free: 6.133 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007016/1, allocations: 222.6 kB / 0.878 GB, free: 5.914 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007769/1.008, allocations: 4.647 MB / 0.8826 GB, free: 1.246 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004076/1.012, allocations: 2.784 MB / 0.8853 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/1.012, allocations: 3.938 kB / 0.8853 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.013, allocations: 0.5345 MB / 0.8858 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004672/1.014, allocations: 51.98 kB / 0.8859 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.015, allocations: 71.89 kB / 0.8859 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/1.015, allocations: 153.8 kB / 0.8861 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005771/1.021, allocations: 3.05 MB / 0.8891 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006326/1.028, allocations: 4.317 MB / 0.8933 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001665/1.029, allocations: 1.244 MB / 0.8945 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001543/1.031, allocations: 1.068 MB / 0.8955 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of Backend: time 6.12e-07/1.031, allocations: 0 / 0.8955 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01051/1.041, allocations: 4.742 MB / 0.9002 GB, free: 15.2 MB / 0.67 GB Notification: Performance of SimCode: time 0.008971/1.05, allocations: 5.209 MB / 0.9053 GB, free: 9.934 MB / 0.67 GB Notification: Performance of Templates: time 0.1078/1.158, allocations: 72.48 MB / 0.976 GB, free: 1.852 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