Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001246/0.001247, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007606/0.0007606, allocations: 93.11 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3259/0.3259, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004073, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1089, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.462/1.571, allocations: 0.6922 GB / 1.172 GB, free: 121 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/1.571, allocations: 75.36 kB / 1.172 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.026/3.597, allocations: 0.5528 GB / 1.725 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.734e-06/3.597, allocations: 0 / 1.725 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000319/3.597, allocations: 68.34 kB / 1.725 GB, free: 41.68 MB / 0.5261 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.01212/3.61, allocations: 3.305 MB / 1.728 GB, free: 40.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/3.61, allocations: 13.44 kB / 1.728 GB, free: 40.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/3.613, allocations: 446.1 kB / 1.729 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008321/3.622, allocations: 3.228 MB / 1.732 GB, free: 39.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/3.622, allocations: 131 kB / 1.732 GB, free: 39.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009/3.623, allocations: 170.3 kB / 1.732 GB, free: 39.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005976/3.629, allocations: 2.65 MB / 1.735 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-05/3.629, allocations: 10.31 kB / 1.735 GB, free: 39.53 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004984/3.629, allocations: 71.12 kB / 1.735 GB, free: 39.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002087/3.63, allocations: 155.8 kB / 1.735 GB, free: 39.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004108/3.634, allocations: 2.258 MB / 1.737 GB, free: 39.51 MB / 0.5261 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.01523/3.649, allocations: 11.05 MB / 1.748 GB, free: 33.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/3.652, allocations: 1.812 MB / 1.75 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/3.653, allocations: 1.079 MB / 1.751 GB, free: 33.33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002373/3.656, allocations: 2.436 MB / 1.753 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001882/3.658, allocations: 1.308 MB / 1.754 GB, free: 31.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=162): time 4.118e-06/3.658, allocations: 3.219 kB / 1.754 GB, free: 31.19 MB / 0.5261 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.02782/3.686, allocations: 10.87 MB / 1.765 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/3.686, allocations: 363.3 kB / 1.765 GB, free: 29.19 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003272/3.689, allocations: 1.605 MB / 1.767 GB, free: 29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003222/3.689, allocations: 65.05 kB / 1.767 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008609/3.69, allocations: 0.8663 MB / 1.768 GB, free: 28.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005691/3.691, allocations: 0.6148 MB / 1.769 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/3.691, allocations: 43 kB / 1.769 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001486/3.691, allocations: 387.7 kB / 1.769 GB, free: 27.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/3.693, allocations: 1.042 MB / 1.77 GB, free: 27.97 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/3.696, allocations: 1.493 MB / 1.771 GB, free: 27.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003913/3.699, allocations: 2.661 MB / 1.774 GB, free: 27.06 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/3.699, allocations: 3.938 kB / 1.774 GB, free: 27.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005422/3.705, allocations: 3.163 MB / 1.777 GB, free: 26.78 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002328/3.705, allocations: 438.6 kB / 1.778 GB, free: 26.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/3.705, allocations: 10 kB / 1.778 GB, free: 26.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004528/3.706, allocations: 190 kB / 1.778 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/3.708, allocations: 0.5368 MB / 1.778 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/3.709, allocations: 2.331 MB / 1.781 GB, free: 24.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/3.711, allocations: 215.4 kB / 1.781 GB, free: 24.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003762/3.712, allocations: 191.1 kB / 1.781 GB, free: 24.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.946e-06/3.712, allocations: 4.625 kB / 1.781 GB, free: 24.18 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004594/3.716, allocations: 2.889 MB / 1.784 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/3.716, allocations: 12.75 kB / 1.784 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003445/3.717, allocations: 194.2 kB / 1.784 GB, free: 24.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/3.719, allocations: 0.5238 MB / 1.784 GB, free: 24.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/3.72, allocations: 2.326 MB / 1.787 GB, free: 21.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/3.722, allocations: 202.1 kB / 1.787 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004173/3.723, allocations: 188.8 kB / 1.787 GB, free: 21.93 MB / 0.5261 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 () * Number of clocked 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.001735/3.725, allocations: 0.6847 MB / 1.788 GB, free: 21.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006665/3.725, allocations: 220.5 kB / 1.788 GB, free: 21.56 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007532/3.733, allocations: 3.766 MB / 1.792 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/3.733, allocations: 19.72 kB / 1.792 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/3.733, allocations: 0 / 1.792 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003849/3.737, allocations: 2.794 MB / 1.794 GB, free: 20.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/3.749, allocations: 6.674 MB / 1.801 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/3.749, allocations: 4.656 kB / 1.801 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/3.751, allocations: 431.2 kB / 1.801 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004123/3.751, allocations: 195.1 kB / 1.802 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002422/3.751, allocations: 96.12 kB / 1.802 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/3.754, allocations: 3.076 MB / 1.805 GB, free: 32.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/3.754, allocations: 10.06 kB / 1.805 GB, free: 32.59 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006508/3.76, allocations: 4.314 MB / 1.809 GB, free: 31.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/3.762, allocations: 0.5623 MB / 1.809 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007424/3.763, allocations: 55.69 kB / 1.809 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/3.765, allocations: 133.5 kB / 1.81 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/3.765, allocations: 167.5 kB / 1.81 GB, free: 31.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002952/3.765, allocations: 163 kB / 1.81 GB, free: 31.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002022/3.767, allocations: 1.09 MB / 1.811 GB, free: 31.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.21e-07/3.767, allocations: 0 / 1.811 GB, free: 31.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00737/3.775, allocations: 1.93 MB / 1.813 GB, free: 31.31 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 185 * 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.006566/3.781, allocations: 2.381 MB / 1.815 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008795/3.79, allocations: 4.351 MB / 1.819 GB, free: 30.46 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/3.79, allocations: 3.656 kB / 1.819 GB, free: 30.46 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002597/3.793, allocations: 1.524 MB / 1.821 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007268/3.8, allocations: 1.002 MB / 1.822 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009432/3.81, allocations: 5.638 MB / 1.827 GB, free: 28.08 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001904/3.812, allocations: 1.674 MB / 1.829 GB, free: 27.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006331/3.818, allocations: 1.35 MB / 1.83 GB, free: 27.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/3.819, allocations: 300.8 kB / 1.831 GB, free: 27.26 MB / 0.5417 GB Notification: Performance of SimCode: time 9.12e-07/3.819, allocations: 4 kB / 1.831 GB, free: 27.25 MB / 0.5417 GB Notification: Performance of Templates: time 0.1079/3.927, allocations: 74.31 MB / 1.903 GB, free: 15.65 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches