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.001699/0.001699, allocations: 181.9 kB / 17.41 MB, free: 4.375 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.454/1.454, allocations: 205.4 MB / 223.6 MB, free: 8.934 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.0007866/0.0007863, allocations: 93.88 kB / 271.9 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003603, allocations: 12 kB / 328.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2859, allocations: 47.57 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.399/6.685, allocations: 2.797 GB / 3.164 GB, free: 80.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/6.685, allocations: 81.59 kB / 3.164 GB, free: 80.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.162/8.847, allocations: 0.5277 GB / 3.691 GB, free: 33.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.314e-06/8.847, allocations: 5.969 kB / 3.691 GB, free: 33.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002545/8.847, allocations: 42.92 kB / 3.691 GB, free: 33.05 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.01479/8.862, allocations: 2.969 MB / 3.694 GB, free: 31.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/8.862, allocations: 7.75 kB / 3.694 GB, free: 31.37 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00562/8.868, allocations: 0.597 MB / 3.695 GB, free: 31.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/8.882, allocations: 5.943 MB / 3.701 GB, free: 29.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/8.882, allocations: 139.1 kB / 3.701 GB, free: 29.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009436/8.883, allocations: 154.3 kB / 3.701 GB, free: 29.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/8.894, allocations: 2.847 MB / 3.704 GB, free: 28.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/8.894, allocations: 11.16 kB / 3.704 GB, free: 28.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000621/8.895, allocations: 69.02 kB / 3.704 GB, free: 27.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000192/8.895, allocations: 129.5 kB / 3.704 GB, free: 27.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007175/8.902, allocations: 2.65 MB / 3.707 GB, free: 27.2 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.01745/8.919, allocations: 11.7 MB / 3.718 GB, free: 18.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004678/8.924, allocations: 1.738 MB / 3.72 GB, free: 16.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/8.926, allocations: 0.8763 MB / 3.721 GB, free: 16.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0151/8.941, allocations: 8.294 MB / 3.729 GB, free: 7.574 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/8.941, allocations: 43.56 kB / 3.729 GB, free: 7.523 MB / 442.7 MB Notification: Performance of pre-optimization done (n=114): time 3.085e-06/8.941, allocations: 0 / 3.729 GB, free: 7.523 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.02361/8.965, allocations: 7.471 MB / 3.736 GB, free: 15.99 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/8.965, allocations: 145.8 kB / 3.736 GB, free: 15.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/8.967, allocations: 1.192 MB / 3.737 GB, free: 14.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/8.968, allocations: 49.7 kB / 3.737 GB, free: 14.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007236/8.968, allocations: 0.7053 MB / 3.738 GB, free: 13.85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005596/8.969, allocations: 460.7 kB / 3.738 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/8.969, allocations: 28 kB / 3.738 GB, free: 13.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002166/8.969, allocations: 373.9 kB / 3.739 GB, free: 13.01 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/8.971, allocations: 0.8861 MB / 3.74 GB, free: 12.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/8.974, allocations: 1.262 MB / 3.741 GB, free: 10.71 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: circular_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: annulus_pipe.mediums[1].p = 1000000.0 (boundary.p = 1000000.0) Notification: Performance of analyzeInitialSystem (initialization): time 2.75/11.72, allocations: 381.4 MB / 4.113 GB, free: 81.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/11.72, allocations: 3.812 kB / 4.113 GB, free: 81.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006568/11.73, allocations: 2.677 MB / 4.116 GB, free: 81.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003219/11.73, allocations: 400.6 kB / 4.116 GB, free: 80.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/11.73, allocations: 12.61 kB / 4.116 GB, free: 80.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/11.73, allocations: 0.5167 MB / 4.117 GB, free: 80.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/11.73, allocations: 374.8 kB / 4.117 GB, free: 80.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/11.74, allocations: 2.909 MB / 4.12 GB, free: 78.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/11.74, allocations: 204.5 kB / 4.12 GB, free: 78.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/11.74, allocations: 71.77 kB / 4.12 GB, free: 78.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/11.74, allocations: 3.656 kB / 4.12 GB, free: 78.87 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005299/11.74, allocations: 2.478 MB / 4.123 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/11.74, allocations: 10.19 kB / 4.123 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/11.75, allocations: 0.5188 MB / 4.123 GB, free: 78.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/11.75, allocations: 373.1 kB / 4.124 GB, free: 78.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/11.75, allocations: 2.913 MB / 4.127 GB, free: 76.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/11.75, allocations: 204.2 kB / 4.127 GB, free: 76.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/11.75, allocations: 70.31 kB / 4.127 GB, free: 76.7 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: circular_pipe.mediums[1].p = 1000000.0 annulus_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.001506/11.75, allocations: 0.5914 MB / 4.127 GB, free: 76.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004908/11.75, allocations: 144.1 kB / 4.127 GB, free: 76.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00881/11.76, allocations: 5.572 MB / 4.133 GB, free: 76.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.217e-05/11.76, allocations: 60.75 kB / 4.133 GB, free: 76.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/11.76, allocations: 0 / 4.133 GB, free: 76.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00656/11.77, allocations: 5.109 MB / 4.138 GB, free: 75.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/11.78, allocations: 8.609 MB / 4.146 GB, free: 74.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/11.78, allocations: 1.031 kB / 4.146 GB, free: 74.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/11.78, allocations: 293.6 kB / 4.147 GB, free: 74.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001857/11.79, allocations: 0.5531 MB / 4.147 GB, free: 74.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/11.79, allocations: 45.47 kB / 4.147 GB, free: 74.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/11.79, allocations: 2.926 MB / 4.15 GB, free: 72.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/11.79, allocations: 3.781 kB / 4.15 GB, free: 72.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008125/11.8, allocations: 5.43 MB / 4.155 GB, free: 71.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001428/11.8, allocations: 0.5397 MB / 4.156 GB, free: 71.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005306/11.8, allocations: 34.59 kB / 4.156 GB, free: 71.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/11.8, allocations: 161.9 kB / 4.156 GB, free: 71.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/11.8, allocations: 129.9 kB / 4.156 GB, free: 71.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/11.8, allocations: 51.59 kB / 4.156 GB, free: 71.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00177/11.8, allocations: 0.8986 MB / 4.157 GB, free: 71.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/11.8, allocations: 0 / 4.157 GB, free: 71.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01374/11.82, allocations: 2.094 MB / 4.159 GB, free: 71.59 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.01476/11.83, allocations: 2.126 MB / 4.161 GB, free: 71.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007929/11.84, allocations: 3.845 MB / 4.165 GB, free: 71.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/11.84, allocations: 0 / 4.165 GB, free: 71.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002989/11.84, allocations: 1.808 MB / 4.167 GB, free: 71.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004616/11.85, allocations: 0.7634 MB / 4.168 GB, free: 71.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009003/11.86, allocations: 6.392 MB / 4.174 GB, free: 68.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/11.86, allocations: 1.742 MB / 4.176 GB, free: 68.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006466/11.86, allocations: 146.2 kB / 4.176 GB, free: 68.12 MB / 490.7 MB Notification: Performance of SimCode: time 8.51e-07/11.86, allocations: 0 / 4.176 GB, free: 68.12 MB / 490.7 MB Notification: Performance of Templates: time 0.1046/11.96, allocations: 86.68 MB / 4.26 GB, free: 16.53 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