Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 196.2 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 226.5 MB / 245.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008127/0.0008126, allocations: 92.88 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000235/0.0002352, allocations: 7.984 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2179, allocations: 51.29 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.197/5.415, allocations: 2.802 GB / 3.202 GB, free: 117.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/5.415, allocations: 80.41 kB / 3.202 GB, free: 117.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.998/7.413, allocations: 0.5334 GB / 3.735 GB, free: 43.37 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.344e-06/7.413, allocations: 0 / 3.735 GB, free: 43.37 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001736/7.413, allocations: 47.06 kB / 3.735 GB, free: 43.36 MB / 474.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.01229/7.425, allocations: 2.981 MB / 3.738 GB, free: 41.87 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/7.425, allocations: 10.47 kB / 3.738 GB, free: 41.87 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004453/7.43, allocations: 0.5995 MB / 3.739 GB, free: 41.78 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/7.441, allocations: 5.98 MB / 3.745 GB, free: 41.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/7.442, allocations: 142.3 kB / 3.745 GB, free: 41.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005241/7.442, allocations: 150.8 kB / 3.745 GB, free: 41.31 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006193/7.448, allocations: 2.847 MB / 3.748 GB, free: 40.85 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-05/7.448, allocations: 10.28 kB / 3.748 GB, free: 40.85 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002524/7.449, allocations: 70.91 kB / 3.748 GB, free: 40.85 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/7.449, allocations: 126.3 kB / 3.748 GB, free: 40.84 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005588/7.454, allocations: 2.651 MB / 3.75 GB, free: 40.83 MB / 474.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.01271/7.467, allocations: 11.68 MB / 3.762 GB, free: 33.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004203/7.471, allocations: 1.758 MB / 3.764 GB, free: 33.66 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/7.473, allocations: 0.8724 MB / 3.764 GB, free: 33.64 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01489/7.488, allocations: 9.01 MB / 3.773 GB, free: 27.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/7.488, allocations: 47.19 kB / 3.773 GB, free: 27.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=114): time 4.99e-06/7.488, allocations: 3.531 kB / 3.773 GB, free: 27.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.02075/7.509, allocations: 7.467 MB / 3.781 GB, free: 26.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/7.509, allocations: 148.2 kB / 3.781 GB, free: 26.78 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/7.511, allocations: 1.184 MB / 3.782 GB, free: 26.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/7.511, allocations: 50.48 kB / 3.782 GB, free: 26.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004561/7.511, allocations: 0.7082 MB / 3.783 GB, free: 26.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/7.512, allocations: 454.9 kB / 3.783 GB, free: 25.99 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/7.512, allocations: 30.03 kB / 3.783 GB, free: 25.99 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/7.512, allocations: 366.5 kB / 3.783 GB, free: 25.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/7.513, allocations: 0.8912 MB / 3.784 GB, free: 25.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/7.515, allocations: 1.27 MB / 3.786 GB, free: 25.23 MB / 474.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 0.02627/7.541, allocations: 8.289 MB / 3.794 GB, free: 22.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/7.541, allocations: 5.375 kB / 3.794 GB, free: 22.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005898/7.547, allocations: 2.68 MB / 3.796 GB, free: 21.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002261/7.548, allocations: 398.7 kB / 3.797 GB, free: 21.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/7.548, allocations: 8.969 kB / 3.797 GB, free: 21.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/7.549, allocations: 0.5159 MB / 3.797 GB, free: 21.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/7.551, allocations: 373.7 kB / 3.797 GB, free: 21.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/7.553, allocations: 2.916 MB / 3.8 GB, free: 18.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/7.554, allocations: 205.3 kB / 3.801 GB, free: 18.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/7.555, allocations: 81.3 kB / 3.801 GB, free: 18.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/7.555, allocations: 6.469 kB / 3.801 GB, free: 18.81 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004542/7.559, allocations: 2.473 MB / 3.803 GB, free: 17.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/7.559, allocations: 10.69 kB / 3.803 GB, free: 17.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/7.561, allocations: 0.5178 MB / 3.804 GB, free: 17.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/7.562, allocations: 371.2 kB / 3.804 GB, free: 17.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/7.564, allocations: 2.916 MB / 3.807 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/7.565, allocations: 203.9 kB / 3.807 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/7.565, allocations: 70.16 kB / 3.807 GB, free: 15.29 MB / 474.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.001132/7.567, allocations: 0.5955 MB / 3.808 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/7.567, allocations: 148.8 kB / 3.808 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007069/7.574, allocations: 5.574 MB / 3.813 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-05/7.574, allocations: 61.52 kB / 3.813 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/7.574, allocations: 0 / 3.813 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005687/7.58, allocations: 5.099 MB / 3.818 GB, free: 7.512 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/7.591, allocations: 8.612 MB / 3.827 GB, free: 52 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/7.592, allocations: 4 kB / 3.827 GB, free: 48 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/7.593, allocations: 314.7 kB / 3.827 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001866/7.595, allocations: 0.5474 MB / 3.827 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/7.595, allocations: 43.66 kB / 3.828 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/7.597, allocations: 2.928 MB / 3.83 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/7.597, allocations: 4 kB / 3.83 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008522/7.606, allocations: 5.446 MB / 3.836 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/7.607, allocations: 0.5359 MB / 3.836 GB, free: 7.156 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004195/7.607, allocations: 35.56 kB / 3.836 GB, free: 7.125 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/7.609, allocations: 165 kB / 3.836 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002879/7.609, allocations: 132.3 kB / 3.837 GB, free: 6.922 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/7.609, allocations: 55.31 kB / 3.837 GB, free: 6.875 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001576/7.611, allocations: 0.9015 MB / 3.837 GB, free: 6.117 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/7.611, allocations: 0 / 3.837 GB, free: 6.117 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008808/7.62, allocations: 2.108 MB / 3.84 GB, free: 4.051 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.01111/7.631, allocations: 2.142 MB / 3.842 GB, free: 2.383 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.2894/7.92, allocations: 4.113 MB / 3.846 GB, free: 55.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/7.92, allocations: 2.188 kB / 3.846 GB, free: 55.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003256/7.924, allocations: 1.83 MB / 3.847 GB, free: 55.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003955/7.928, allocations: 0.746 MB / 3.848 GB, free: 55.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007796/7.935, allocations: 6.331 MB / 3.854 GB, free: 53.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/7.937, allocations: 1.763 MB / 3.856 GB, free: 52.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003526/7.94, allocations: 1.963 MB / 3.858 GB, free: 52.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/7.941, allocations: 133.6 kB / 3.858 GB, free: 52.9 MB / 490.7 MB Notification: Performance of SimCode: time 9.71e-07/7.941, allocations: 0 / 3.858 GB, free: 52.9 MB / 490.7 MB Notification: Performance of Templates: time 0.09853/8.039, allocations: 69.82 MB / 3.926 GB, free: 50.09 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.sim & ./Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/NonCircularPipes/NonCircularPipes.csv","../files/Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches