Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.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) 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(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|annulus_pipe.mediums.1..h|annulus_pipe.mediums.2..h|annulus_pipe.mediums.2..p|circular_pipe.mediums.1..h|circular_pipe.mediums.2..h|circular_pipe.mediums.2..p",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes") translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|annulus_pipe.mediums.1..h|annulus_pipe.mediums.2..h|annulus_pipe.mediums.2..p|circular_pipe.mediums.1..h|circular_pipe.mediums.2..h|circular_pipe.mediums.2..p",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 180 kB / 17.01 MB, free: 5.125 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.632/1.632, allocations: 205.4 MB / 223.1 MB, free: 9.043 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.0008857/0.0008857, allocations: 96.95 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002787, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.289, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.756/8.045, allocations: 2.796 GB / 3.163 GB, free: 83.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/8.046, allocations: 87.8 kB / 3.163 GB, free: 83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.457/10.5, allocations: 0.5507 GB / 3.714 GB, free: 26.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.054e-06/10.5, allocations: 4 kB / 3.714 GB, free: 26.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001314/10.5, allocations: 45.09 kB / 3.714 GB, free: 26.55 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.01329/10.52, allocations: 2.994 MB / 3.717 GB, free: 23.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/10.52, allocations: 8.031 kB / 3.717 GB, free: 23.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005242/10.52, allocations: 0.5981 MB / 3.718 GB, free: 23.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005041/10.53, allocations: 1.447 MB / 3.719 GB, free: 22.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/10.53, allocations: 138.2 kB / 3.719 GB, free: 22.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000383/10.53, allocations: 147.6 kB / 3.719 GB, free: 21.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0063/10.53, allocations: 2.829 MB / 3.722 GB, free: 19.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.696e-05/10.53, allocations: 11.88 kB / 3.722 GB, free: 19.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/10.53, allocations: 76.16 kB / 3.722 GB, free: 19.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/10.53, allocations: 126.6 kB / 3.722 GB, free: 19.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005582/10.54, allocations: 2.653 MB / 3.725 GB, free: 16.39 MB / 442.7 MB 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.01669/10.56, allocations: 11.71 MB / 3.736 GB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004172/10.56, allocations: 1.738 MB / 3.738 GB, free: 2.141 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01795/10.58, allocations: 8.297 MB / 3.746 GB, free: 8.859 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.589e-05/10.58, allocations: 57.25 kB / 3.746 GB, free: 8.793 MB / 458.7 MB Notification: Performance of pre-optimization done (n=114): time 4.048e-06/10.58, allocations: 0 / 3.746 GB, free: 8.793 MB / 458.7 MB Notification: Performance of matching and sorting (n=132): time 0.02262/10.6, allocations: 7.45 MB / 3.753 GB, free: 1.281 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/10.6, allocations: 149.8 kB / 3.753 GB, free: 1.102 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/10.6, allocations: 1.061 MB / 3.755 GB, free: 32 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.3708/10.97, allocations: 49.53 kB / 3.755 GB, free: 48.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/10.98, allocations: 0.7112 MB / 3.755 GB, free: 47.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006682/10.98, allocations: 458.8 kB / 3.756 GB, free: 47.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/10.98, allocations: 31.25 kB / 3.756 GB, free: 47.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/10.98, allocations: 374.5 kB / 3.756 GB, free: 47.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/10.98, allocations: 0.8805 MB / 3.757 GB, free: 47.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/10.98, allocations: 1.264 MB / 3.758 GB, free: 47.05 MB / 458.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: annulus_pipe.mediums[1].p = 1000000.0 (boundary.p = 1000000.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: circular_pipe.mediums[1].p = 1000000.0 (boundary.p = 1000000.0) Notification: Performance of analyzeInitialSystem (initialization): time 2.519/13.5, allocations: 379.5 MB / 4.129 GB, free: 78.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/13.5, allocations: 0 / 4.129 GB, free: 78.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006065/13.51, allocations: 2.689 MB / 4.131 GB, free: 78.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008939/13.51, allocations: 4.033 MB / 4.135 GB, free: 74.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/13.51, allocations: 10.47 kB / 4.135 GB, free: 74.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/13.51, allocations: 0.5135 MB / 4.136 GB, free: 74.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/13.51, allocations: 375.7 kB / 4.136 GB, free: 74.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/13.51, allocations: 2.915 MB / 4.139 GB, free: 72.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/13.51, allocations: 206.1 kB / 4.139 GB, free: 72.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/13.51, allocations: 77.17 kB / 4.139 GB, free: 72.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/13.51, allocations: 6.906 kB / 4.139 GB, free: 72.62 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004753/13.52, allocations: 2.485 MB / 4.142 GB, free: 72.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/13.52, allocations: 10.47 kB / 4.142 GB, free: 72.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/13.52, allocations: 0.5149 MB / 4.142 GB, free: 72.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/13.52, allocations: 369.2 kB / 4.143 GB, free: 72.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/13.52, allocations: 2.912 MB / 4.145 GB, free: 70.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/13.52, allocations: 196 kB / 4.146 GB, free: 70.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/13.52, allocations: 79.97 kB / 4.146 GB, free: 70.45 MB / 490.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: annulus_pipe.mediums[1].p = 1000000.0 circular_pipe.mediums[1].p = 1000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 11 (boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase,annulus_pipe.state_b.phase,annulus_pipe.state_a.phase,circular_pipe.state_b.phase,circular_pipe.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * 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 {2 8,1 1,2 8,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001278/13.53, allocations: 0.5847 MB / 4.146 GB, free: 70.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/13.53, allocations: 149.4 kB / 4.146 GB, free: 70.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007433/13.53, allocations: 5.585 MB / 4.152 GB, free: 69.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.851e-05/13.53, allocations: 58.89 kB / 4.152 GB, free: 69.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/13.53, allocations: 0 / 4.152 GB, free: 69.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005895/13.54, allocations: 5.104 MB / 4.157 GB, free: 69.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/13.55, allocations: 8.619 MB / 4.165 GB, free: 68.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/13.55, allocations: 0 / 4.165 GB, free: 68.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/13.55, allocations: 294.4 kB / 4.166 GB, free: 68.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/13.56, allocations: 0.5506 MB / 4.166 GB, free: 68.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/13.56, allocations: 41.98 kB / 4.166 GB, free: 68.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/13.56, allocations: 2.918 MB / 4.169 GB, free: 66.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/13.56, allocations: 2.062 kB / 4.169 GB, free: 66.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007556/13.56, allocations: 5.556 MB / 4.174 GB, free: 65.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/13.57, allocations: 0.5321 MB / 4.175 GB, free: 65.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/13.57, allocations: 43.11 kB / 4.175 GB, free: 65.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/13.57, allocations: 160.6 kB / 4.175 GB, free: 65.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/13.57, allocations: 134.7 kB / 4.175 GB, free: 65.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.504e-05/13.57, allocations: 46.95 kB / 4.175 GB, free: 65.13 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001294/13.57, allocations: 0.9132 MB / 4.176 GB, free: 65.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/13.57, allocations: 0 / 4.176 GB, free: 65.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009064/13.58, allocations: 2.183 MB / 4.178 GB, free: 65.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (circular_pipe.mediums[1].h,circular_pipe.mediums[2].p,circular_pipe.mediums[2].h,annulus_pipe.mediums[1].h,annulus_pipe.mediums[2].p,annulus_pipe.mediums[2].h) * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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 {2 8,1 1,2 8,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01089/13.59, allocations: 2.238 MB / 4.181 GB, free: 64.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007078/13.6, allocations: 3.842 MB / 4.184 GB, free: 64.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/13.6, allocations: 1.219 kB / 4.184 GB, free: 64.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0028/13.6, allocations: 1.831 MB / 4.186 GB, free: 64.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003846/13.6, allocations: 0.7546 MB / 4.187 GB, free: 64.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00883/13.61, allocations: 6.389 MB / 4.193 GB, free: 62.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/13.61, allocations: 1.809 MB / 4.195 GB, free: 61.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003561/13.62, allocations: 1.947 MB / 4.197 GB, free: 61.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004474/13.62, allocations: 139.1 kB / 4.197 GB, free: 61.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.633e-06/13.62, allocations: 0 / 4.197 GB, free: 61.23 MB / 490.7 MB Notification: Performance of Templates: time 0.09839/13.72, allocations: 68.37 MB / 4.264 GB, free: 15.18 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/NonCircularPipes/NonCircularPipes.csv","../files/Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches