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.001712/0.001713, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 227.2 MB / 245 MB, free: 7.598 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 108.8 kB / 297.3 MB, free: 6.164 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002149/0.0002149, allocations: 8 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1995, allocations: 51.49 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.745/5.944, allocations: 2.802 GB / 3.202 GB, free: 21.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/5.945, allocations: 83.08 kB / 3.202 GB, free: 21.71 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.329/8.273, allocations: 0.5563 GB / 3.758 GB, free: 38.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.365e-06/8.273, allocations: 0 / 3.758 GB, free: 38.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001125/8.273, allocations: 46.41 kB / 3.758 GB, free: 38.27 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.01161/8.285, allocations: 2.994 MB / 3.761 GB, free: 37.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/8.285, allocations: 7.594 kB / 3.761 GB, free: 37.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004716/8.29, allocations: 0.6036 MB / 3.761 GB, free: 37.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004081/8.294, allocations: 1.441 MB / 3.763 GB, free: 36.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/8.294, allocations: 146 kB / 3.763 GB, free: 36.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003314/8.294, allocations: 150.5 kB / 3.763 GB, free: 36.76 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005791/8.3, allocations: 2.836 MB / 3.766 GB, free: 36.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/8.3, allocations: 7.094 kB / 3.766 GB, free: 36.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/8.3, allocations: 68.31 kB / 3.766 GB, free: 36.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002471/8.301, allocations: 129.7 kB / 3.766 GB, free: 36.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005646/8.306, allocations: 2.65 MB / 3.769 GB, free: 36.28 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.01332/8.32, allocations: 11.71 MB / 3.78 GB, free: 29.17 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004188/8.324, allocations: 1.75 MB / 3.782 GB, free: 29.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01529/8.339, allocations: 9.009 MB / 3.791 GB, free: 23.32 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/8.339, allocations: 52.47 kB / 3.791 GB, free: 23.28 MB / 474.7 MB Notification: Performance of pre-optimization done (n=114): time 3.507e-06/8.339, allocations: 0 / 3.791 GB, free: 23.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.01995/8.359, allocations: 7.46 MB / 3.798 GB, free: 22.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/8.359, allocations: 145 kB / 3.798 GB, free: 22.35 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/8.361, allocations: 1.063 MB / 3.799 GB, free: 22.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001675/8.361, allocations: 47.48 kB / 3.799 GB, free: 22.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004879/8.362, allocations: 0.7151 MB / 3.8 GB, free: 21.85 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000368/8.362, allocations: 452.1 kB / 3.8 GB, free: 21.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/8.362, allocations: 33.53 kB / 3.8 GB, free: 21.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/8.362, allocations: 367.5 kB / 3.801 GB, free: 21.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/8.364, allocations: 0.8876 MB / 3.802 GB, free: 21.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/8.365, allocations: 1.27 MB / 3.803 GB, free: 20.86 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: 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 0.0258/8.391, allocations: 6.333 MB / 3.809 GB, free: 20.63 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/8.391, allocations: 6.922 kB / 3.809 GB, free: 20.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005916/8.397, allocations: 2.691 MB / 3.812 GB, free: 20.46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008603/8.398, allocations: 4.03 MB / 3.816 GB, free: 16.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/8.398, allocations: 10.75 kB / 3.816 GB, free: 16.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001656/8.4, allocations: 0.5183 MB / 3.816 GB, free: 16.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/8.401, allocations: 373.8 kB / 3.816 GB, free: 16.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/8.403, allocations: 2.908 MB / 3.819 GB, free: 30.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/8.405, allocations: 208.8 kB / 3.82 GB, free: 30.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/8.405, allocations: 74.23 kB / 3.82 GB, free: 30.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/8.405, allocations: 7.125 kB / 3.82 GB, free: 30.17 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004403/8.41, allocations: 2.487 MB / 3.822 GB, free: 30.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/8.41, allocations: 11.56 kB / 3.822 GB, free: 30.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/8.411, allocations: 0.5185 MB / 3.823 GB, free: 30.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/8.413, allocations: 371.4 kB / 3.823 GB, free: 30.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/8.415, allocations: 2.91 MB / 3.826 GB, free: 27.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/8.417, allocations: 206.8 kB / 3.826 GB, free: 27.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/8.417, allocations: 70.14 kB / 3.826 GB, free: 27.98 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.001178/8.418, allocations: 0.5916 MB / 3.827 GB, free: 27.78 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003875/8.418, allocations: 151.5 kB / 3.827 GB, free: 27.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006645/8.425, allocations: 5.567 MB / 3.832 GB, free: 27.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.312e-05/8.425, allocations: 65.5 kB / 3.832 GB, free: 27.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/8.425, allocations: 3.938 kB / 3.832 GB, free: 27.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005592/8.431, allocations: 5.104 MB / 3.837 GB, free: 26.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/8.442, allocations: 8.631 MB / 3.846 GB, free: 25.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/8.443, allocations: 0 / 3.846 GB, free: 25.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/8.444, allocations: 289.8 kB / 3.846 GB, free: 25.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001811/8.445, allocations: 0.5514 MB / 3.846 GB, free: 25.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/8.446, allocations: 43.45 kB / 3.846 GB, free: 25.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/8.448, allocations: 2.918 MB / 3.849 GB, free: 23.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/8.448, allocations: 8.453 kB / 3.849 GB, free: 23.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00826/8.456, allocations: 5.544 MB / 3.855 GB, free: 22.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/8.458, allocations: 0.536 MB / 3.855 GB, free: 22.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000722/8.458, allocations: 44.34 kB / 3.855 GB, free: 22.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/8.46, allocations: 157.8 kB / 3.855 GB, free: 22.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/8.461, allocations: 133.6 kB / 3.856 GB, free: 22.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/8.461, allocations: 50.16 kB / 3.856 GB, free: 22.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001857/8.463, allocations: 0.913 MB / 3.857 GB, free: 22.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.6e-07/8.463, allocations: 0 / 3.857 GB, free: 22.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009281/8.472, allocations: 2.21 MB / 3.859 GB, free: 22.04 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.009864/8.482, allocations: 2.255 MB / 3.861 GB, free: 21.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006713/8.488, allocations: 3.845 MB / 3.865 GB, free: 21.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/8.488, allocations: 2.438 kB / 3.865 GB, free: 21.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002443/8.491, allocations: 1.828 MB / 3.866 GB, free: 21.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/8.494, allocations: 0.7472 MB / 3.867 GB, free: 21.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007626/8.502, allocations: 6.403 MB / 3.873 GB, free: 18.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/8.503, allocations: 1.807 MB / 3.875 GB, free: 17.26 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003406/8.507, allocations: 1.949 MB / 3.877 GB, free: 17.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/8.507, allocations: 135.6 kB / 3.877 GB, free: 17.18 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/8.507, allocations: 0 / 3.877 GB, free: 17.18 MB / 490.7 MB Notification: Performance of Templates: time 0.3699/8.877, allocations: 68.45 MB / 3.944 GB, free: 50.3 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/jenkins/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