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.001464/0.001464, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.893/1.893, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001107/0.001106, allocations: 96.42 kB / 270.9 MB, free: 8.398 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.4965/0.4965, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004654, allocations: 12 kB / 431.4 MB, free: 6.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1455, allocations: 58.85 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.19/2.335, allocations: 0.6918 GB / 1.171 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/2.336, allocations: 80.66 kB / 1.171 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.032/5.368, allocations: 0.5558 GB / 1.726 GB, free: 41.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.705e-06/5.368, allocations: 0 / 1.726 GB, free: 41.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002955/5.368, allocations: 60 kB / 1.726 GB, free: 41.45 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.01463/5.383, allocations: 3.333 MB / 1.73 GB, free: 40.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/5.383, allocations: 8.688 kB / 1.73 GB, free: 40.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00486/5.388, allocations: 448.9 kB / 1.73 GB, free: 40.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008244/5.396, allocations: 1.959 MB / 1.732 GB, free: 39.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/5.397, allocations: 135.1 kB / 1.732 GB, free: 39.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008147/5.397, allocations: 167.3 kB / 1.732 GB, free: 39.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007872/5.405, allocations: 2.631 MB / 1.735 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-05/5.405, allocations: 8.266 kB / 1.735 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004339/5.406, allocations: 73.98 kB / 1.735 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000398/5.406, allocations: 152.5 kB / 1.735 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008222/5.414, allocations: 2.261 MB / 1.737 GB, free: 39.32 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.02426/5.439, allocations: 11.03 MB / 1.748 GB, free: 33.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005576/5.444, allocations: 1.807 MB / 1.75 GB, free: 33.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001536/5.446, allocations: 467.4 kB / 1.75 GB, free: 32.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003694/5.45, allocations: 1.302 MB / 1.752 GB, free: 32.69 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=162): time 5.219e-06/5.45, allocations: 0 / 1.752 GB, free: 32.69 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.04692/5.497, allocations: 11.2 MB / 1.763 GB, free: 30.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/5.497, allocations: 366.5 kB / 1.763 GB, free: 30.31 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/5.5, allocations: 1.415 MB / 1.764 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007153/5.501, allocations: 63.56 kB / 1.764 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007442/5.501, allocations: 0.7932 MB / 1.765 GB, free: 29.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009824/5.502, allocations: 0.6209 MB / 1.766 GB, free: 29.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003079/5.503, allocations: 44.06 kB / 1.766 GB, free: 29.35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001503/5.503, allocations: 392.5 kB / 1.766 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/5.506, allocations: 1.04 MB / 1.767 GB, free: 29.03 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003453/5.509, allocations: 1.483 MB / 1.769 GB, free: 28.61 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003539/5.513, allocations: 1.304 MB / 1.77 GB, free: 28.53 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/5.513, allocations: 0 / 1.77 GB, free: 28.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008605/5.521, allocations: 3.042 MB / 1.773 GB, free: 28.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007622/5.522, allocations: 3.645 MB / 1.776 GB, free: 24.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.082e-05/5.522, allocations: 9.906 kB / 1.776 GB, free: 24.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007231/5.523, allocations: 191.4 kB / 1.777 GB, free: 24.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004655/5.528, allocations: 0.5351 MB / 1.777 GB, free: 24.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/5.529, allocations: 2.33 MB / 1.779 GB, free: 22.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004468/5.534, allocations: 221.1 kB / 1.78 GB, free: 22.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006982/5.535, allocations: 188.8 kB / 1.78 GB, free: 22.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/5.535, allocations: 5.781 kB / 1.78 GB, free: 22.41 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008025/5.543, allocations: 2.886 MB / 1.783 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/5.543, allocations: 8.281 kB / 1.783 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/5.543, allocations: 197 kB / 1.783 GB, free: 22.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004276/5.548, allocations: 0.5236 MB / 1.783 GB, free: 22.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/5.55, allocations: 2.327 MB / 1.786 GB, free: 36.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/5.554, allocations: 209.2 kB / 1.786 GB, free: 36.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005279/5.554, allocations: 182.3 kB / 1.786 GB, free: 36.15 MB / 0.5417 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.002056/5.556, allocations: 0.6964 MB / 1.787 GB, free: 35.89 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007393/5.557, allocations: 216.3 kB / 1.787 GB, free: 35.78 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/5.569, allocations: 3.763 MB / 1.791 GB, free: 35.51 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/5.569, allocations: 17.53 kB / 1.791 GB, free: 35.51 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/5.569, allocations: 3.953 kB / 1.791 GB, free: 35.51 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006714/5.575, allocations: 2.789 MB / 1.793 GB, free: 34.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01894/5.594, allocations: 6.657 MB / 1.8 GB, free: 33.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/5.595, allocations: 8.875 kB / 1.8 GB, free: 33.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003529/5.598, allocations: 426.9 kB / 1.8 GB, free: 33.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006687/5.599, allocations: 190.9 kB / 1.8 GB, free: 33.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004093/5.599, allocations: 98.09 kB / 1.8 GB, free: 33.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002543/5.602, allocations: 3.078 MB / 1.803 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/5.602, allocations: 12.83 kB / 1.803 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/5.613, allocations: 4.699 MB / 1.808 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00209/5.615, allocations: 0.5463 MB / 1.809 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007287/5.616, allocations: 57.47 kB / 1.809 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002761/5.618, allocations: 137.1 kB / 1.809 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005008/5.619, allocations: 168.2 kB / 1.809 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003884/5.619, allocations: 159.7 kB / 1.809 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002363/5.622, allocations: 1.113 MB / 1.81 GB, free: 29.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.52e-07/5.622, allocations: 2.953 kB / 1.81 GB, free: 29.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008724/5.631, allocations: 1.971 MB / 1.812 GB, free: 28.94 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.007977/5.639, allocations: 2.449 MB / 1.814 GB, free: 28.39 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01171/5.65, allocations: 4.349 MB / 1.819 GB, free: 28.08 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/5.65, allocations: 7.438 kB / 1.819 GB, free: 28.08 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003685/5.654, allocations: 1.533 MB / 1.82 GB, free: 27.83 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00806/5.662, allocations: 0.9811 MB / 1.821 GB, free: 27.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/5.675, allocations: 5.71 MB / 1.827 GB, free: 25.67 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001695/5.677, allocations: 1.706 MB / 1.828 GB, free: 24.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002686/5.68, allocations: 367.6 kB / 1.829 GB, free: 24.92 MB / 0.5417 GB Notification: Performance of SimCode: time 1.353e-06/5.68, allocations: 0 / 1.829 GB, free: 24.92 MB / 0.5417 GB Notification: Performance of Templates: time 0.5489/6.228, allocations: 84.75 MB / 1.912 GB, free: 53.64 MB / 0.5417 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