Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.BranchingPipes14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.h|junctionIdeal.medium.p|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.h|junctionIdeal.medium.p|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 114.7 kB / 17.09 MB, free: 6.008 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.001885/0.001885, allocations: 194.2 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.216/0.216, allocations: 43.53 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 72.45 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1113, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14): time 0.343/0.4544, allocations: 101.9 MB / 0.588 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0516/0.506, allocations: 36.88 MB / 0.6241 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004221/0.5103, allocations: 95.44 kB / 0.6241 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005138/0.5155, allocations: 1.247 MB / 0.6254 GB, free: 14.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02577/0.5413, allocations: 8.056 MB / 0.6332 GB, free: 6.344 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02106/0.5624, allocations: 7.641 MB / 0.6407 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01027/0.5727, allocations: 7.003 MB / 0.6475 GB, free: 7.656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003513/0.5762, allocations: 1.58 MB / 0.6491 GB, free: 6.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007413/0.5837, allocations: 2.757 MB / 0.6518 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02939/0.6131, allocations: 12.11 MB / 0.6636 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.6146, allocations: 236 kB / 0.6638 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02738/0.642, allocations: 10.03 MB / 0.6736 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002155/0.6442, allocations: 0.9543 MB / 0.6745 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00399/0.6482, allocations: 1.458 MB / 0.676 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02445/0.6727, allocations: 9.349 MB / 0.6851 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.6728, allocations: 0 / 0.6851 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6728, allocations: 0 / 0.6851 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001595/0.6729, allocations: 0 / 0.6851 GB, free: 0.9492 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01421/0.6872, allocations: 4.175 MB / 0.6892 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.6872, allocations: 11.89 kB / 0.6892 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006547/0.6938, allocations: 0.8046 MB / 0.69 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/0.7064, allocations: 6.702 MB / 0.6965 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000277/0.7067, allocations: 187.8 kB / 0.6967 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000841/0.7076, allocations: 211.9 kB / 0.6969 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009927/0.7175, allocations: 3.548 MB / 0.7004 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.974e-05/0.7177, allocations: 7.938 kB / 0.7004 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005007/0.7182, allocations: 79.97 kB / 0.7005 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002888/0.7185, allocations: 199.7 kB / 0.7006 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008586/0.7271, allocations: 3.277 MB / 0.7038 GB, free: 13.46 MB / 0.545 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.02197/0.7491, allocations: 15.5 MB / 0.719 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006194/0.7553, allocations: 2.732 MB / 0.7216 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.7575, allocations: 1.235 MB / 0.7229 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05077/0.8083, allocations: 24.71 MB / 0.747 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005121/0.8135, allocations: 1.682 MB / 0.7486 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=173): time 5.1e-06/0.8135, allocations: 0 / 0.7486 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=189): time 0.02541/0.8389, allocations: 8.88 MB / 0.7573 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/0.8391, allocations: 176.2 kB / 0.7575 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/0.8414, allocations: 1.578 MB / 0.759 GB, free: 424 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002311/0.8417, allocations: 65.7 kB / 0.7591 GB, free: 352 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.2589/1.101, allocations: 0.9821 MB / 0.76 GB, free: 218.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/1.102, allocations: 0.6314 MB / 0.7607 GB, free: 218 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007364/1.102, allocations: 444.2 kB / 0.7611 GB, free: 218 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.273e-05/1.102, allocations: 304.7 kB / 0.7614 GB, free: 217.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/1.105, allocations: 1.146 MB / 0.7625 GB, free: 217.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/1.108, allocations: 1.651 MB / 0.7641 GB, free: 217.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004747/1.112, allocations: 2.951 MB / 0.767 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/1.112, allocations: 10.86 kB / 0.767 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.006595/1.119, allocations: 3.384 MB / 0.7703 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.946e-05/1.119, allocations: 75.94 kB / 0.7704 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/1.119, allocations: 12.92 kB / 0.7704 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009233/1.12, allocations: 235.3 kB / 0.7706 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/1.122, allocations: 0.5238 MB / 0.7711 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/1.124, allocations: 2.436 MB / 0.7735 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/1.126, allocations: 136.7 kB / 0.7736 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/1.126, allocations: 113.7 kB / 0.7737 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003056/1.129, allocations: 1.566 MB / 0.7753 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002421/1.132, allocations: 1.581 MB / 0.7768 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00459/1.136, allocations: 2.825 MB / 0.7796 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.339e-05/1.136, allocations: 4.062 kB / 0.7796 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.006221/1.142, allocations: 3.236 MB / 0.7827 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.393e-05/1.143, allocations: 77.67 kB / 0.7828 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/1.143, allocations: 12.38 kB / 0.7828 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000798/1.143, allocations: 239 kB / 0.783 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/1.145, allocations: 0.5157 MB / 0.7835 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/1.147, allocations: 2.437 MB / 0.7859 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/1.149, allocations: 134.7 kB / 0.7861 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/1.149, allocations: 105 kB / 0.7862 GB, free: 205.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 30 (valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.state_a.phase,junctionIdeal.medium.phase,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,pipe3.statesFM[2].phase,pipe2.statesFM[2].phase,sink.medium.phase,pipe1.statesFM[2].phase,source.medium.phase,$whenCondition2,$whenCondition1,pipe3.state_a.phase,pipe2.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 253 * 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.0007558/1.15, allocations: 395.5 kB / 0.7865 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004303/1.15, allocations: 210.4 kB / 0.7867 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009154/1.159, allocations: 7.483 MB / 0.794 GB, free: 201.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007084/1.166, allocations: 6.53 MB / 0.8004 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.166, allocations: 2.375 kB / 0.8004 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.168, allocations: 0.646 MB / 0.801 GB, free: 198.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/1.168, allocations: 82.69 kB / 0.8011 GB, free: 198.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.169, allocations: 136.7 kB / 0.8013 GB, free: 198.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002963/1.17, allocations: 158.5 kB / 0.8014 GB, free: 198.1 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007137/1.177, allocations: 4.924 MB / 0.8062 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008102/1.185, allocations: 7.066 MB / 0.8131 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002397/1.187, allocations: 2.243 MB / 0.8153 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001496/1.189, allocations: 1.254 MB / 0.8165 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of Backend: time 4.1e-07/1.189, allocations: 0 / 0.8165 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0167/1.205, allocations: 6.203 MB / 0.8226 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.009688/1.215, allocations: 6.482 MB / 0.8289 GB, free: 172.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1182/1.334, allocations: 102.9 MB / 0.9294 GB, free: 69.65 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes14/BranchingPipes14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches