Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002141/0.002141, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.25/2.25, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 101.5 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.308/0.308, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.305e-05/2.305e-05, allocations: 4.203 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.423, allocations: 58.85 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.024/2.447, allocations: 0.6583 GB / 1.124 GB, free: 78.82 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/2.447, allocations: 80.77 kB / 1.124 GB, free: 78.79 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 3.232/5.679, allocations: 0.5395 GB / 1.664 GB, free: 44.63 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.174e-06/5.679, allocations: 0 / 1.664 GB, free: 44.63 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0003797/5.68, allocations: 66.8 kB / 1.664 GB, free: 44.62 MB / 0.5108 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.01437/5.694, allocations: 3.021 MB / 1.667 GB, free: 43.36 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/5.694, allocations: 9.281 kB / 1.667 GB, free: 43.36 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005154/5.699, allocations: 448.5 kB / 1.667 GB, free: 43.23 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009284/5.709, allocations: 1.924 MB / 1.669 GB, free: 42.8 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/5.709, allocations: 63.67 kB / 1.669 GB, free: 42.8 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009802/5.71, allocations: 98.72 kB / 1.669 GB, free: 42.8 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006651/5.717, allocations: 2.125 MB / 1.671 GB, free: 42.79 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008413/5.725, allocations: 2.37 MB / 1.674 GB, free: 42.37 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.14e-05/5.725, allocations: 3.5 kB / 1.674 GB, free: 42.37 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004697/5.726, allocations: 5.75 kB / 1.674 GB, free: 42.37 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003399/5.726, allocations: 155.4 kB / 1.674 GB, free: 42.36 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or 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.02681/5.753, allocations: 10.79 MB / 1.684 GB, free: 36.53 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00463/5.758, allocations: 1.721 MB / 1.686 GB, free: 36.22 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002574/5.76, allocations: 0.983 MB / 1.687 GB, free: 36.21 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/5.762, allocations: 457.4 kB / 1.687 GB, free: 35.91 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00338/5.765, allocations: 1.154 MB / 1.689 GB, free: 35.75 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=153): time 6.803e-06/5.765, allocations: 0 / 1.689 GB, free: 35.75 MB / 0.5108 GB Notification: Performance of matching and sorting (n=176): time 0.06962/5.835, allocations: 9.532 MB / 1.698 GB, free: 34.86 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/5.835, allocations: 365.4 kB / 1.698 GB, free: 34.45 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/5.838, allocations: 1.067 MB / 1.699 GB, free: 34.28 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0008441/5.839, allocations: 29.48 kB / 1.699 GB, free: 34.25 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/5.84, allocations: 0.8675 MB / 1.7 GB, free: 33.79 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.001134/5.841, allocations: 0.5654 MB / 1.701 GB, free: 33.42 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/5.841, allocations: 3.188 kB / 1.701 GB, free: 33.42 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001689/5.841, allocations: 396.3 kB / 1.701 GB, free: 33.11 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002486/5.844, allocations: 0.9784 MB / 1.702 GB, free: 33.1 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003494/5.847, allocations: 1.406 MB / 1.703 GB, free: 32.68 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01712/5.865, allocations: 2.329 MB / 1.706 GB, free: 32.66 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.84e-05/5.865, allocations: 3.969 kB / 1.706 GB, free: 32.66 MB / 0.5108 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.02228/5.887, allocations: 3.908 MB / 1.71 GB, free: 32.51 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009059/5.888, allocations: 3.638 MB / 1.713 GB, free: 28.73 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-05/5.888, allocations: 15.09 kB / 1.713 GB, free: 28.73 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007171/5.889, allocations: 167.2 kB / 1.713 GB, free: 28.7 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004865/5.894, allocations: 0.5339 MB / 1.714 GB, free: 28.7 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/5.895, allocations: 2.341 MB / 1.716 GB, free: 26.62 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004528/5.9, allocations: 175.9 kB / 1.716 GB, free: 26.61 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/5.901, allocations: 183.9 kB / 1.716 GB, free: 26.61 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/5.901, allocations: 6.656 kB / 1.716 GB, free: 26.61 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01997/5.921, allocations: 3.522 MB / 1.72 GB, free: 26.53 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.652e-05/5.921, allocations: 6.906 kB / 1.72 GB, free: 26.53 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005068/5.922, allocations: 174.9 kB / 1.72 GB, free: 26.5 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004693/5.927, allocations: 0.5262 MB / 1.721 GB, free: 26.5 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/5.928, allocations: 2.338 MB / 1.723 GB, free: 24.42 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003607/5.932, allocations: 173.7 kB / 1.723 GB, free: 24.41 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005602/5.933, allocations: 182.3 kB / 1.723 GB, free: 24.41 MB / 0.5108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009968/5.934, allocations: 223.5 kB / 1.723 GB, free: 24.24 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007938/5.934, allocations: 190.8 kB / 1.724 GB, free: 24.14 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02593/5.96, allocations: 4.004 MB / 1.727 GB, free: 23.95 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/5.96, allocations: 18.84 kB / 1.727 GB, free: 23.95 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/5.96, allocations: 0 / 1.727 GB, free: 23.95 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02129/5.982, allocations: 3.503 MB / 1.731 GB, free: 23.43 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03366/6.015, allocations: 7.04 MB / 1.738 GB, free: 22.26 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/6.016, allocations: 8.219 kB / 1.738 GB, free: 22.26 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003773/6.019, allocations: 408.8 kB / 1.738 GB, free: 22.26 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006621/6.02, allocations: 171.2 kB / 1.738 GB, free: 22.23 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005876/6.021, allocations: 70.25 kB / 1.738 GB, free: 22.23 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/6.023, allocations: 3.033 MB / 1.741 GB, free: 19.43 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/6.023, allocations: 7.531 kB / 1.741 GB, free: 19.43 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02508/6.048, allocations: 5.234 MB / 1.747 GB, free: 17.21 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002529/6.051, allocations: 0.5067 MB / 1.747 GB, free: 16.91 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001136/6.052, allocations: 26.39 kB / 1.747 GB, free: 16.91 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003452/6.055, allocations: 101.3 kB / 1.747 GB, free: 16.9 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007229/6.056, allocations: 157.2 kB / 1.747 GB, free: 16.87 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004771/6.056, allocations: 150 kB / 1.747 GB, free: 16.86 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.002184/6.059, allocations: 0.7952 MB / 1.748 GB, free: 16.52 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.463e-06/6.059, allocations: 0 / 1.748 GB, free: 16.52 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.01269/6.071, allocations: 1.82 MB / 1.75 GB, free: 16.18 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009125/6.081, allocations: 2.662 MB / 1.753 GB, free: 15.45 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.01148/6.092, allocations: 4.055 MB / 1.757 GB, free: 13.32 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/6.092, allocations: 4.984 kB / 1.757 GB, free: 13.31 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.003489/6.096, allocations: 1.417 MB / 1.758 GB, free: 11.99 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007742/6.104, allocations: 0.7913 MB / 1.759 GB, free: 11.42 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/6.116, allocations: 3.937 MB / 1.763 GB, free: 7.902 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002168/6.118, allocations: 1.702 MB / 1.764 GB, free: 6.516 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002808/6.121, allocations: 341.3 kB / 1.765 GB, free: 6.223 MB / 0.5108 GB Notification: Performance of SimCode: time 1.403e-06/6.121, allocations: 0 / 1.765 GB, free: 6.223 MB / 0.5108 GB Notification: Performance of Templates: time 0.579/6.7, allocations: 82.34 MB / 1.845 GB, free: 48.66 MB / 0.5265 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes15/BranchingPipes15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches