Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.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.BranchingPipes16,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.BranchingPipes16") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,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.BranchingPipes16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002221/0.002221, allocations: 178.4 kB / 8.362 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.076/2.076, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001104/0.001104, allocations: 83.11 kB / 262.1 MB, free: 13.89 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.2971/0.2971, allocations: 43.49 MB / 353.5 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.279e-05/2.284e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4271, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.959/2.386, allocations: 0.6583 GB / 1.124 GB, free: 78.59 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/2.387, allocations: 80.77 kB / 1.124 GB, free: 78.55 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 3.112/5.499, allocations: 0.5396 GB / 1.664 GB, free: 44.86 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.994e-06/5.499, allocations: 0 / 1.664 GB, free: 44.86 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0003606/5.499, allocations: 63.28 kB / 1.664 GB, free: 44.85 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.01339/5.512, allocations: 3.027 MB / 1.667 GB, free: 43.61 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/5.513, allocations: 12.72 kB / 1.667 GB, free: 43.61 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004805/5.517, allocations: 439.7 kB / 1.667 GB, free: 43.48 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009372/5.527, allocations: 1.934 MB / 1.669 GB, free: 43.05 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/5.527, allocations: 57.17 kB / 1.669 GB, free: 43.05 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009292/5.528, allocations: 101.3 kB / 1.669 GB, free: 43.05 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007079/5.535, allocations: 2.126 MB / 1.671 GB, free: 43.04 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007816/5.543, allocations: 2.368 MB / 1.674 GB, free: 42.62 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.559e-05/5.543, allocations: 2.25 kB / 1.674 GB, free: 42.62 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003679/5.543, allocations: 10.81 kB / 1.674 GB, free: 42.62 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002918/5.544, allocations: 150.1 kB / 1.674 GB, free: 42.61 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.02495/5.569, allocations: 10.78 MB / 1.684 GB, free: 36.79 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004496/5.573, allocations: 1.722 MB / 1.686 GB, free: 36.48 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/5.576, allocations: 0.9832 MB / 1.687 GB, free: 36.46 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/5.577, allocations: 452.9 kB / 1.687 GB, free: 36.17 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002843/5.58, allocations: 1.164 MB / 1.689 GB, free: 36 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=153): time 5.009e-06/5.58, allocations: 2.469 kB / 1.689 GB, free: 36 MB / 0.5108 GB Notification: Performance of matching and sorting (n=176): time 0.06569/5.646, allocations: 9.526 MB / 1.698 GB, free: 35.11 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/5.646, allocations: 364.1 kB / 1.698 GB, free: 34.7 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/5.648, allocations: 1.071 MB / 1.699 GB, free: 34.53 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0006574/5.649, allocations: 32.06 kB / 1.699 GB, free: 34.5 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008896/5.65, allocations: 0.8638 MB / 1.7 GB, free: 34.04 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009723/5.651, allocations: 0.5714 MB / 1.701 GB, free: 33.67 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/5.651, allocations: 3.812 kB / 1.701 GB, free: 33.67 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001643/5.651, allocations: 390.7 kB / 1.701 GB, free: 33.36 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/5.653, allocations: 0.9754 MB / 1.702 GB, free: 33.35 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002878/5.656, allocations: 1.411 MB / 1.703 GB, free: 32.93 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01655/5.673, allocations: 2.329 MB / 1.706 GB, free: 32.91 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-05/5.673, allocations: 3.688 kB / 1.706 GB, free: 32.91 MB / 0.5108 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.0214/5.694, allocations: 3.908 MB / 1.71 GB, free: 32.76 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008136/5.695, allocations: 3.635 MB / 1.713 GB, free: 28.98 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/5.695, allocations: 11.56 kB / 1.713 GB, free: 28.98 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/5.696, allocations: 168.3 kB / 1.713 GB, free: 28.95 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004679/5.701, allocations: 0.5351 MB / 1.714 GB, free: 28.95 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/5.702, allocations: 2.345 MB / 1.716 GB, free: 26.87 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004355/5.707, allocations: 180.3 kB / 1.716 GB, free: 26.86 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008118/5.708, allocations: 190.6 kB / 1.716 GB, free: 26.86 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/5.708, allocations: 3.625 kB / 1.716 GB, free: 26.86 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01929/5.727, allocations: 3.514 MB / 1.72 GB, free: 26.77 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.8e-05/5.727, allocations: 10.31 kB / 1.72 GB, free: 26.77 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004883/5.727, allocations: 169.1 kB / 1.72 GB, free: 26.74 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004443/5.732, allocations: 0.5331 MB / 1.721 GB, free: 26.74 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/5.734, allocations: 2.343 MB / 1.723 GB, free: 24.67 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003449/5.737, allocations: 167.5 kB / 1.723 GB, free: 24.66 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007461/5.738, allocations: 185.8 kB / 1.723 GB, free: 24.66 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.0009028/5.739, allocations: 219.7 kB / 1.723 GB, free: 24.49 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006766/5.739, allocations: 186.4 kB / 1.724 GB, free: 24.39 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02427/5.764, allocations: 4.01 MB / 1.728 GB, free: 24.2 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/5.764, allocations: 24.92 kB / 1.728 GB, free: 24.2 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/5.764, allocations: 0 / 1.728 GB, free: 24.2 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02017/5.784, allocations: 3.499 MB / 1.731 GB, free: 23.68 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03196/5.816, allocations: 7.033 MB / 1.738 GB, free: 22.51 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/5.816, allocations: 7.469 kB / 1.738 GB, free: 22.51 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003809/5.82, allocations: 416.4 kB / 1.738 GB, free: 22.48 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006663/5.821, allocations: 168.5 kB / 1.738 GB, free: 22.42 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005694/5.821, allocations: 72.38 kB / 1.738 GB, free: 22.41 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/5.823, allocations: 3.029 MB / 1.741 GB, free: 19.52 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/5.823, allocations: 6.156 kB / 1.741 GB, free: 19.52 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02404/5.848, allocations: 5.243 MB / 1.747 GB, free: 17.29 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/5.85, allocations: 0.5109 MB / 1.747 GB, free: 16.99 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007735/5.851, allocations: 25.22 kB / 1.747 GB, free: 16.99 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003133/5.854, allocations: 93.14 kB / 1.747 GB, free: 16.98 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007973/5.855, allocations: 162.3 kB / 1.747 GB, free: 16.95 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004588/5.855, allocations: 148.2 kB / 1.747 GB, free: 16.94 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.002014/5.857, allocations: 0.794 MB / 1.748 GB, free: 16.61 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.172e-06/5.857, allocations: 0 / 1.748 GB, free: 16.61 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.01094/5.868, allocations: 1.818 MB / 1.75 GB, free: 16.26 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.008735/5.877, allocations: 2.676 MB / 1.753 GB, free: 15.53 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.01012/5.887, allocations: 4.062 MB / 1.757 GB, free: 13.35 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/5.887, allocations: 3.859 kB / 1.757 GB, free: 13.34 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.003083/5.89, allocations: 1.416 MB / 1.758 GB, free: 12.02 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007147/5.897, allocations: 0.7707 MB / 1.759 GB, free: 11.46 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/5.909, allocations: 3.942 MB / 1.763 GB, free: 7.941 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/5.91, allocations: 1.701 MB / 1.764 GB, free: 6.555 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002569/5.913, allocations: 340.9 kB / 1.765 GB, free: 6.262 MB / 0.5108 GB Notification: Performance of SimCode: time 2.004e-06/5.913, allocations: 0 / 1.765 GB, free: 6.262 MB / 0.5108 GB Notification: Performance of Templates: time 0.5762/6.489, allocations: 82.33 MB / 1.845 GB, free: 48.78 MB / 0.5265 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes16/BranchingPipes16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches