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.001383/0.001383, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.543/1.543, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008747/0.0008748, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.399e-05, allocations: 3.984 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 47.58 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.021/8.126, allocations: 2.796 GB / 3.157 GB, free: 85.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/8.126, allocations: 75.06 kB / 3.158 GB, free: 85.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.202/10.33, allocations: 0.5493 GB / 3.707 GB, free: 37.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.186e-06/10.33, allocations: 0 / 3.707 GB, free: 37.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001553/10.33, allocations: 51.12 kB / 3.707 GB, free: 37.2 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.01363/10.34, allocations: 2.802 MB / 3.71 GB, free: 35.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/10.34, allocations: 15.19 kB / 3.71 GB, free: 35.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/10.35, allocations: 0.5967 MB / 3.71 GB, free: 35.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004063/10.35, allocations: 1.435 MB / 3.712 GB, free: 35.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/10.35, allocations: 142.7 kB / 3.712 GB, free: 35.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000296/10.35, allocations: 151.2 kB / 3.712 GB, free: 35.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005361/10.36, allocations: 2.787 MB / 3.715 GB, free: 34.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/10.36, allocations: 13.02 kB / 3.715 GB, free: 34.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/10.36, allocations: 69.11 kB / 3.715 GB, free: 34.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/10.36, allocations: 130 kB / 3.715 GB, free: 34.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004648/10.36, allocations: 2.498 MB / 3.717 GB, free: 33.54 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.01283/10.38, allocations: 11.7 MB / 3.729 GB, free: 24.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003363/10.38, allocations: 1.619 MB / 3.73 GB, free: 24.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009462/10.38, allocations: 0.7554 MB / 3.731 GB, free: 23.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01564/10.4, allocations: 8.323 MB / 3.739 GB, free: 18.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/10.4, allocations: 43.16 kB / 3.739 GB, free: 18.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=114): time 4.318e-06/10.4, allocations: 0 / 3.739 GB, free: 18.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.01748/10.41, allocations: 6.322 MB / 3.745 GB, free: 16.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/10.41, allocations: 143.5 kB / 3.745 GB, free: 16.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/10.41, allocations: 1.048 MB / 3.747 GB, free: 15.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/10.41, allocations: 49.7 kB / 3.747 GB, free: 15.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/10.42, allocations: 0.7085 MB / 3.747 GB, free: 14.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/10.42, allocations: 458 kB / 3.748 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/10.42, allocations: 36 kB / 3.748 GB, free: 14.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/10.42, allocations: 369 kB / 3.748 GB, free: 14.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009972/10.42, allocations: 0.7727 MB / 3.749 GB, free: 13.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/10.42, allocations: 1.144 MB / 3.75 GB, free: 12.21 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 2.803/13.22, allocations: 379.2 MB / 4.12 GB, free: 82.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/13.22, allocations: 6.969 kB / 4.12 GB, free: 82.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00507/13.23, allocations: 2.446 MB / 4.123 GB, free: 82.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001097/13.23, allocations: 4.026 MB / 4.127 GB, free: 77.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/13.23, allocations: 10.41 kB / 4.127 GB, free: 77.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/13.23, allocations: 0.505 MB / 4.127 GB, free: 77.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/13.23, allocations: 369.3 kB / 4.127 GB, free: 77.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/13.23, allocations: 2.913 MB / 4.13 GB, free: 75.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/13.23, allocations: 202.4 kB / 4.13 GB, free: 75.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/13.23, allocations: 70.06 kB / 4.131 GB, free: 75.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/13.23, allocations: 7.156 kB / 4.131 GB, free: 75.86 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004524/13.24, allocations: 2.254 MB / 4.133 GB, free: 75.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/13.24, allocations: 11.2 kB / 4.133 GB, free: 75.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/13.24, allocations: 0.4989 MB / 4.133 GB, free: 75.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/13.24, allocations: 369.2 kB / 4.134 GB, free: 75.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/13.24, allocations: 2.907 MB / 4.136 GB, free: 73.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/13.25, allocations: 205 kB / 4.137 GB, free: 73.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/13.25, allocations: 78.11 kB / 4.137 GB, free: 73.68 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.0005413/13.25, allocations: 206.8 kB / 4.137 GB, free: 73.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003073/13.25, allocations: 144.6 kB / 4.137 GB, free: 73.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007635/13.26, allocations: 5.46 MB / 4.142 GB, free: 73.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.654e-05/13.26, allocations: 57.8 kB / 4.142 GB, free: 73.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/13.26, allocations: 1.5 kB / 4.142 GB, free: 73.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005215/13.26, allocations: 4.985 MB / 4.147 GB, free: 72.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/13.27, allocations: 8.515 MB / 4.156 GB, free: 71.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/13.27, allocations: 3.75 kB / 4.156 GB, free: 71.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/13.27, allocations: 294.7 kB / 4.156 GB, free: 71.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/13.28, allocations: 0.5443 MB / 4.156 GB, free: 71.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/13.28, allocations: 41.03 kB / 4.156 GB, free: 71.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/13.28, allocations: 2.909 MB / 4.159 GB, free: 69.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/13.28, allocations: 3.938 kB / 4.159 GB, free: 69.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006596/13.29, allocations: 5.206 MB / 4.164 GB, free: 68.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/13.29, allocations: 0.5319 MB / 4.165 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/13.29, allocations: 38.55 kB / 4.165 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/13.29, allocations: 167.6 kB / 4.165 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/13.29, allocations: 131.1 kB / 4.165 GB, free: 68.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/13.29, allocations: 56.31 kB / 4.165 GB, free: 68.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001251/13.29, allocations: 0.8878 MB / 4.166 GB, free: 68.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/13.29, allocations: 3.75 kB / 4.166 GB, free: 68.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009152/13.3, allocations: 2.184 MB / 4.168 GB, free: 68.41 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.01152/13.31, allocations: 2.234 MB / 4.17 GB, free: 68.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006518/13.32, allocations: 3.573 MB / 4.174 GB, free: 68.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/13.32, allocations: 0 / 4.174 GB, free: 68.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002566/13.32, allocations: 1.729 MB / 4.176 GB, free: 68.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004357/13.32, allocations: 0.7528 MB / 4.176 GB, free: 68.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007401/13.33, allocations: 4.439 MB / 4.181 GB, free: 67.31 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/13.33, allocations: 1.807 MB / 4.182 GB, free: 66.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004136/13.34, allocations: 2.102 MB / 4.185 GB, free: 66.53 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/13.34, allocations: 116.7 kB / 4.185 GB, free: 66.52 MB / 490.7 MB Notification: Performance of SimCode: time 1.754e-06/13.34, allocations: 0 / 4.185 GB, free: 66.52 MB / 490.7 MB Notification: Performance of Templates: time 0.1006/13.44, allocations: 72.27 MB / 4.255 GB, free: 51.59 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