Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001565/0.001564, allocations: 181 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001083/0.001083, allocations: 82.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.006e-05/4.011e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 47.58 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.501/8.607, allocations: 2.796 GB / 3.157 GB, free: 85.76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/8.607, allocations: 79.56 kB / 3.157 GB, free: 85.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.928/11.54, allocations: 0.5493 GB / 3.706 GB, free: 35.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.933e-06/11.54, allocations: 2.719 kB / 3.706 GB, free: 35.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001805/11.54, allocations: 42.88 kB / 3.706 GB, free: 35.75 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.01359/11.55, allocations: 2.8 MB / 3.709 GB, free: 34.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/11.55, allocations: 13.94 kB / 3.709 GB, free: 34.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00674/11.56, allocations: 0.5983 MB / 3.709 GB, free: 34.22 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00572/11.56, allocations: 1.432 MB / 3.711 GB, free: 33.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/11.56, allocations: 142.3 kB / 3.711 GB, free: 33.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004517/11.56, allocations: 150.9 kB / 3.711 GB, free: 33.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009559/11.57, allocations: 2.788 MB / 3.714 GB, free: 32.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.521e-05/11.57, allocations: 7.875 kB / 3.714 GB, free: 32.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003756/11.57, allocations: 75.05 kB / 3.714 GB, free: 32.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002564/11.57, allocations: 129.6 kB / 3.714 GB, free: 32.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009381/11.58, allocations: 2.493 MB / 3.716 GB, free: 31.55 MB / 442.7 MB 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.02288/11.61, allocations: 11.71 MB / 3.728 GB, free: 22.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005815/11.61, allocations: 1.614 MB / 3.729 GB, free: 22.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/11.61, allocations: 0.7544 MB / 3.73 GB, free: 21.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02621/11.64, allocations: 8.326 MB / 3.738 GB, free: 16.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/11.64, allocations: 50.77 kB / 3.738 GB, free: 16.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=114): time 3.486e-06/11.64, allocations: 3.969 kB / 3.738 GB, free: 16.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.02764/11.67, allocations: 6.308 MB / 3.744 GB, free: 14.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/11.67, allocations: 141.6 kB / 3.745 GB, free: 14.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/11.67, allocations: 1.057 MB / 3.746 GB, free: 13.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003677/11.67, allocations: 53.7 kB / 3.746 GB, free: 13.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005021/11.67, allocations: 0.685 MB / 3.746 GB, free: 12.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004936/11.67, allocations: 451.7 kB / 3.747 GB, free: 12.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/11.67, allocations: 32 kB / 3.747 GB, free: 12.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/11.67, allocations: 380.9 kB / 3.747 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/11.67, allocations: 0.7692 MB / 3.748 GB, free: 10.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/11.68, allocations: 1.143 MB / 3.749 GB, free: 9.797 MB / 442.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 4.783/16.46, allocations: 379.1 MB / 4.119 GB, free: 81.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/16.46, allocations: 3.453 kB / 4.119 GB, free: 81.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007261/16.47, allocations: 2.379 MB / 4.122 GB, free: 81.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009074/16.47, allocations: 4.01 MB / 4.125 GB, free: 77.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.304e-05/16.47, allocations: 9.594 kB / 4.125 GB, free: 77.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002832/16.47, allocations: 0.5031 MB / 4.126 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/16.47, allocations: 380.2 kB / 4.126 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/16.48, allocations: 2.897 MB / 4.129 GB, free: 75.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/16.48, allocations: 208.2 kB / 4.129 GB, free: 75.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002793/16.48, allocations: 71.2 kB / 4.129 GB, free: 75.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/16.48, allocations: 4.062 kB / 4.129 GB, free: 75.07 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007144/16.49, allocations: 2.258 MB / 4.132 GB, free: 75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.876e-05/16.49, allocations: 14.44 kB / 4.132 GB, free: 75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/16.49, allocations: 479.7 kB / 4.132 GB, free: 74.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003031/16.49, allocations: 368.8 kB / 4.132 GB, free: 74.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/16.49, allocations: 2.91 MB / 4.135 GB, free: 72.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/16.5, allocations: 198.3 kB / 4.136 GB, free: 72.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002421/16.5, allocations: 68.58 kB / 4.136 GB, free: 72.9 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 () * 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.0006312/16.5, allocations: 213.8 kB / 4.136 GB, free: 72.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005225/16.5, allocations: 144.8 kB / 4.136 GB, free: 72.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/16.51, allocations: 5.462 MB / 4.141 GB, free: 72.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.073e-05/16.51, allocations: 59.7 kB / 4.141 GB, free: 72.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/16.51, allocations: 0 / 4.141 GB, free: 72.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008278/16.52, allocations: 4.982 MB / 4.146 GB, free: 71.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/16.54, allocations: 8.522 MB / 4.154 GB, free: 70.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/16.54, allocations: 3.938 kB / 4.154 GB, free: 70.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002252/16.54, allocations: 287.2 kB / 4.155 GB, free: 70.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002968/16.54, allocations: 0.5374 MB / 4.155 GB, free: 70.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003252/16.54, allocations: 44.66 kB / 4.155 GB, free: 70.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/16.54, allocations: 2.914 MB / 4.158 GB, free: 68.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/16.54, allocations: 1.969 kB / 4.158 GB, free: 68.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/16.55, allocations: 5.209 MB / 4.163 GB, free: 68.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001845/16.56, allocations: 0.5309 MB / 4.164 GB, free: 67.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004878/16.56, allocations: 36.73 kB / 4.164 GB, free: 67.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0024/16.56, allocations: 161.6 kB / 4.164 GB, free: 67.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004457/16.56, allocations: 138 kB / 4.164 GB, free: 67.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/16.56, allocations: 50.06 kB / 4.164 GB, free: 67.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001886/16.56, allocations: 0.892 MB / 4.165 GB, free: 67.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.12e-07/16.56, allocations: 0 / 4.165 GB, free: 67.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01012/16.57, allocations: 2.182 MB / 4.167 GB, free: 67.67 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 () * 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.01335/16.59, allocations: 2.244 MB / 4.169 GB, free: 67.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009531/16.6, allocations: 3.524 MB / 4.173 GB, free: 67.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/16.6, allocations: 5.531 kB / 4.173 GB, free: 67.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004103/16.6, allocations: 1.713 MB / 4.174 GB, free: 67.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006712/16.61, allocations: 0.7387 MB / 4.175 GB, free: 67.42 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/16.62, allocations: 4.496 MB / 4.18 GB, free: 66.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/16.62, allocations: 1.789 MB / 4.181 GB, free: 65.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009879/16.62, allocations: 146.8 kB / 4.181 GB, free: 65.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.433e-06/16.62, allocations: 0 / 4.181 GB, free: 65.8 MB / 490.7 MB Notification: Performance of Templates: time 0.1523/16.77, allocations: 87.83 MB / 4.267 GB, free: 35.73 MB / 490.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.NonCircularPipes.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.NonCircularPipes.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Fluid.Examples.NonCircularPipes.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Fluid.Examples.NonCircularPipes.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.NonCircularPipes.sim & ./Modelica_3.2.3_cpp_Modelica.Fluid.Examples.NonCircularPipes --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Fluid.Examples.NonCircularPipes.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Fluid.Examples.NonCircularPipes_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Fluid.Examples.NonCircularPipes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches