Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 113.8 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 186.1 kB / 19.39 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2046/0.2046, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 67.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.354, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15): time 0.5845/0.9385, allocations: 234.1 MB / 0.7481 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02415/0.9627, allocations: 16.59 MB / 0.7643 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003465/0.9663, allocations: 97.12 kB / 0.7644 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.9691, allocations: 0.928 MB / 0.7653 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.9808, allocations: 4.044 MB / 0.7693 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01234/0.9932, allocations: 5.196 MB / 0.7744 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009091/1.002, allocations: 6.591 MB / 0.7808 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003244/1.006, allocations: 1.518 MB / 0.7823 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005984/1.012, allocations: 2.583 MB / 0.7848 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005438/1.017, allocations: 2.457 MB / 0.7872 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001329/1.018, allocations: 220.2 kB / 0.7874 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009428/1.028, allocations: 3.415 MB / 0.7907 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00227/1.03, allocations: 0.923 MB / 0.7916 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003768/1.034, allocations: 1.302 MB / 0.7929 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0129/1.047, allocations: 5.195 MB / 0.798 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.047, allocations: 3.188 kB / 0.798 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.704e-06/1.047, allocations: 0.9062 kB / 0.798 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001448/1.047, allocations: 2.5 kB / 0.798 GB, free: 14.05 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.01032/1.057, allocations: 3.31 MB / 0.8012 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/1.057, allocations: 11.03 kB / 0.8012 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/1.061, allocations: 429 kB / 0.8017 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004627/1.065, allocations: 2.005 MB / 0.8036 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/1.065, allocations: 128.8 kB / 0.8037 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005564/1.066, allocations: 167.5 kB / 0.8039 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005259/1.071, allocations: 2.576 MB / 0.8064 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-05/1.071, allocations: 3.094 kB / 0.8064 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003005/1.072, allocations: 73.14 kB / 0.8065 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002575/1.072, allocations: 182.1 kB / 0.8067 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004229/1.076, allocations: 2.245 MB / 0.8088 GB, free: 6.016 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.01634/1.093, allocations: 10.74 MB / 0.8193 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00327/1.096, allocations: 1.776 MB / 0.8211 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/1.097, allocations: 1.058 MB / 0.8221 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009152/1.098, allocations: 0.5037 MB / 0.8226 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002078/1.101, allocations: 1.287 MB / 0.8238 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=162): time 4.619e-06/1.101, allocations: 0 / 0.8238 GB, free: 5.906 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.02751/1.128, allocations: 10.64 MB / 0.8342 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/1.128, allocations: 287 kB / 0.8345 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/1.131, allocations: 1.576 MB / 0.8361 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002731/1.131, allocations: 61.7 kB / 0.8361 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008454/1.132, allocations: 0.8874 MB / 0.837 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006478/1.133, allocations: 0.6219 MB / 0.8376 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009217/1.133, allocations: 483.5 kB / 0.838 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.403e-05/1.134, allocations: 309.1 kB / 0.8383 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/1.135, allocations: 1.063 MB / 0.8394 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/1.138, allocations: 1.549 MB / 0.8409 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004275/1.142, allocations: 2.759 MB / 0.8436 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/1.142, allocations: 4 kB / 0.8436 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005891/1.148, allocations: 3.221 MB / 0.8467 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/1.148, allocations: 79.33 kB / 0.8468 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/1.148, allocations: 12 kB / 0.8468 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004809/1.149, allocations: 191.3 kB / 0.847 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/1.151, allocations: 0.5548 MB / 0.8475 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/1.153, allocations: 2.327 MB / 0.8498 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/1.155, allocations: 112.1 kB / 0.8499 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003595/1.155, allocations: 192 kB / 0.8501 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002589/1.158, allocations: 1.421 MB / 0.8515 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002286/1.16, allocations: 1.477 MB / 0.8529 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003936/1.164, allocations: 2.607 MB / 0.8555 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.205e-05/1.164, allocations: 4 kB / 0.8555 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of matching and sorting (n=269) (initialization_lambda0): time 0.005456/1.169, allocations: 3.06 MB / 0.8585 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/1.17, allocations: 83.41 kB / 0.8586 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/1.17, allocations: 12 kB / 0.8586 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004247/1.17, allocations: 190.3 kB / 0.8588 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002367/1.172, allocations: 0.5469 MB / 0.8593 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/1.174, allocations: 2.332 MB / 0.8616 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/1.176, allocations: 116 kB / 0.8617 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003222/1.176, allocations: 188 kB / 0.8619 GB, free: 13.98 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.0007207/1.177, allocations: 386.7 kB / 0.8622 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005177/1.178, allocations: 212.7 kB / 0.8624 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007907/1.185, allocations: 4.655 MB / 0.867 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004144/1.19, allocations: 2.773 MB / 0.8697 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.19, allocations: 0 / 0.8697 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.191, allocations: 0.5332 MB / 0.8702 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005326/1.191, allocations: 51.92 kB / 0.8702 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/1.193, allocations: 71.94 kB / 0.8703 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/1.193, allocations: 149.8 kB / 0.8705 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006035/1.199, allocations: 3.062 MB / 0.8734 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006605/1.206, allocations: 4.301 MB / 0.8776 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001776/1.208, allocations: 1.238 MB / 0.8789 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001683/1.209, allocations: 1.067 MB / 0.8799 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of Backend: time 6.31e-07/1.209, allocations: 0 / 0.8799 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.22, allocations: 4.73 MB / 0.8845 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of SimCode: time 0.009284/1.229, allocations: 5.134 MB / 0.8895 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of Templates: time 0.1077/1.337, allocations: 72.38 MB / 0.9602 GB, free: 9.668 MB / 0.7325 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches