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.001501/0.001501, allocations: 181.2 kB / 17.41 MB, free: 4.41 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.285/1.285, allocations: 205.4 MB / 223.6 MB, free: 9.051 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.0007372/0.0007371, allocations: 81.44 kB / 271.9 MB, free: 8.285 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.3452/0.3452, allocations: 43.56 MB / 363.8 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.000385, allocations: 12 kB / 432.6 MB, free: 5.672 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1243, allocations: 58.85 MB / 491.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.423/1.547, allocations: 0.6922 GB / 1.172 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/1.548, allocations: 82.59 kB / 1.172 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.741/3.289, allocations: 0.5528 GB / 1.725 GB, free: 41.56 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.953e-06/3.289, allocations: 0 / 1.725 GB, free: 41.56 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001922/3.289, allocations: 62.47 kB / 1.725 GB, free: 41.56 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.009889/3.299, allocations: 3.313 MB / 1.728 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/3.299, allocations: 12.66 kB / 1.728 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003189/3.302, allocations: 454.8 kB / 1.729 GB, free: 40.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007277/3.309, allocations: 3.228 MB / 1.732 GB, free: 39.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/3.31, allocations: 132.1 kB / 1.732 GB, free: 39.85 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004675/3.31, allocations: 169.1 kB / 1.732 GB, free: 39.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004037/3.314, allocations: 2.649 MB / 1.735 GB, free: 39.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.54e-05/3.314, allocations: 13.22 kB / 1.735 GB, free: 39.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/3.314, allocations: 75.25 kB / 1.735 GB, free: 39.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/3.315, allocations: 149.9 kB / 1.735 GB, free: 39.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003546/3.318, allocations: 2.261 MB / 1.737 GB, free: 39.39 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.01374/3.332, allocations: 11.06 MB / 1.748 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/3.335, allocations: 1.81 MB / 1.75 GB, free: 33.26 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/3.337, allocations: 1.075 MB / 1.751 GB, free: 33.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002231/3.339, allocations: 2.435 MB / 1.753 GB, free: 31.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002018/3.341, allocations: 1.302 MB / 1.754 GB, free: 31.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=162): time 5.771e-06/3.341, allocations: 0 / 1.754 GB, free: 31.1 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.02836/3.369, allocations: 10.89 MB / 1.765 GB, free: 29.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/3.369, allocations: 360.3 kB / 1.765 GB, free: 29.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002968/3.372, allocations: 1.597 MB / 1.767 GB, free: 28.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000455/3.373, allocations: 66.52 kB / 1.767 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007275/3.374, allocations: 0.8714 MB / 1.768 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006782/3.374, allocations: 0.6202 MB / 1.769 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/3.375, allocations: 37.62 kB / 1.769 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001333/3.375, allocations: 388.2 kB / 1.769 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/3.377, allocations: 1.043 MB / 1.77 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/3.379, allocations: 1.49 MB / 1.771 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003782/3.382, allocations: 2.664 MB / 1.774 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/3.382, allocations: 3.219 kB / 1.774 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005848/3.388, allocations: 3.165 MB / 1.777 GB, free: 26.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001965/3.389, allocations: 431.4 kB / 1.777 GB, free: 26.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/3.389, allocations: 10.44 kB / 1.778 GB, free: 26.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004437/3.389, allocations: 194.9 kB / 1.778 GB, free: 26.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002388/3.391, allocations: 0.5343 MB / 1.778 GB, free: 26.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/3.392, allocations: 2.329 MB / 1.78 GB, free: 24.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/3.395, allocations: 210.4 kB / 1.781 GB, free: 24.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005391/3.396, allocations: 194.1 kB / 1.781 GB, free: 24.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/3.396, allocations: 6.125 kB / 1.781 GB, free: 24.1 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005152/3.401, allocations: 2.885 MB / 1.784 GB, free: 23.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/3.401, allocations: 15.25 kB / 1.784 GB, free: 23.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/3.401, allocations: 190.3 kB / 1.784 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/3.403, allocations: 0.5235 MB / 1.784 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009878/3.404, allocations: 2.324 MB / 1.787 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/3.407, allocations: 217.6 kB / 1.787 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004563/3.407, allocations: 181.7 kB / 1.787 GB, free: 21.84 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.001615/3.409, allocations: 0.6913 MB / 1.788 GB, free: 21.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006434/3.41, allocations: 214.2 kB / 1.788 GB, free: 21.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007547/3.417, allocations: 3.762 MB / 1.792 GB, free: 21.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/3.417, allocations: 20.94 kB / 1.792 GB, free: 21.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/3.417, allocations: 0 / 1.792 GB, free: 21.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00386/3.421, allocations: 2.799 MB / 1.794 GB, free: 20.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/3.433, allocations: 6.678 MB / 1.801 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/3.434, allocations: 7.25 kB / 1.801 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/3.435, allocations: 431.4 kB / 1.801 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/3.436, allocations: 189.8 kB / 1.801 GB, free: 19.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002954/3.436, allocations: 98.22 kB / 1.802 GB, free: 19.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002464/3.439, allocations: 3.071 MB / 1.805 GB, free: 32.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/3.439, allocations: 10.19 kB / 1.805 GB, free: 32.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006731/3.445, allocations: 4.309 MB / 1.809 GB, free: 31.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/3.447, allocations: 0.5585 MB / 1.809 GB, free: 31.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000812/3.448, allocations: 56.19 kB / 1.809 GB, free: 31.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/3.45, allocations: 136.6 kB / 1.81 GB, free: 31.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004374/3.451, allocations: 168.7 kB / 1.81 GB, free: 31.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003692/3.451, allocations: 159.7 kB / 1.81 GB, free: 31.61 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002443/3.453, allocations: 1.089 MB / 1.811 GB, free: 31.47 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.41e-07/3.453, allocations: 0 / 1.811 GB, free: 31.47 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008052/3.461, allocations: 1.934 MB / 1.813 GB, free: 31.23 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.00658/3.468, allocations: 2.376 MB / 1.815 GB, free: 30.69 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008952/3.477, allocations: 4.35 MB / 1.819 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/3.477, allocations: 0 / 1.819 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002678/3.48, allocations: 1.531 MB / 1.821 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007814/3.488, allocations: 1.001 MB / 1.822 GB, free: 30.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/3.498, allocations: 5.717 MB / 1.827 GB, free: 27.96 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001716/3.499, allocations: 1.66 MB / 1.829 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001997/3.502, allocations: 359 kB / 1.829 GB, free: 27.22 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/3.502, allocations: 0 / 1.829 GB, free: 27.22 MB / 0.5417 GB Notification: Performance of Templates: time 0.1012/3.603, allocations: 85.19 MB / 1.913 GB, free: 6.715 MB / 0.5574 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