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.001143/0.001143, allocations: 182.8 kB / 18.04 MB, free: 3.781 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.337/1.337, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0009153/0.0009153, allocations: 85.62 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003272, allocations: 12 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2396, allocations: 47.57 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.068/6.307, allocations: 2.797 GB / 3.165 GB, free: 81.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/6.308, allocations: 81.34 kB / 3.165 GB, free: 81.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.073/8.38, allocations: 0.5277 GB / 3.693 GB, free: 32.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.036e-06/8.38, allocations: 0 / 3.693 GB, free: 32.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002459/8.381, allocations: 52.39 kB / 3.693 GB, free: 32.5 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.01356/8.394, allocations: 2.968 MB / 3.696 GB, free: 30.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/8.394, allocations: 11.81 kB / 3.696 GB, free: 30.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005661/8.4, allocations: 0.595 MB / 3.696 GB, free: 30.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01356/8.414, allocations: 5.955 MB / 3.702 GB, free: 28.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002677/8.414, allocations: 137.8 kB / 3.702 GB, free: 28.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008075/8.415, allocations: 147.8 kB / 3.702 GB, free: 28.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007882/8.423, allocations: 2.853 MB / 3.705 GB, free: 27.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/8.423, allocations: 7.875 kB / 3.705 GB, free: 27.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005579/8.423, allocations: 67.55 kB / 3.705 GB, free: 27.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/8.424, allocations: 124.7 kB / 3.705 GB, free: 27.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006573/8.43, allocations: 2.652 MB / 3.708 GB, free: 26.67 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.01563/8.446, allocations: 11.68 MB / 3.719 GB, free: 17.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004444/8.45, allocations: 1.746 MB / 3.721 GB, free: 16.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/8.452, allocations: 0.878 MB / 3.722 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01484/8.467, allocations: 8.291 MB / 3.73 GB, free: 7.672 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.066e-05/8.467, allocations: 51.22 kB / 3.73 GB, free: 7.617 MB / 442.7 MB Notification: Performance of pre-optimization done (n=114): time 5.04e-06/8.467, allocations: 11.88 kB / 3.73 GB, free: 7.609 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.02254/8.489, allocations: 7.463 MB / 3.737 GB, free: 280 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/8.49, allocations: 141.8 kB / 3.737 GB, free: 108 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/8.492, allocations: 1.184 MB / 3.739 GB, free: 14.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002272/8.492, allocations: 49.7 kB / 3.739 GB, free: 14.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007101/8.493, allocations: 0.7168 MB / 3.739 GB, free: 14.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005795/8.494, allocations: 455.5 kB / 3.74 GB, free: 13.69 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/8.494, allocations: 28 kB / 3.74 GB, free: 13.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002281/8.494, allocations: 369.9 kB / 3.74 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/8.496, allocations: 0.8861 MB / 3.741 GB, free: 12.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/8.498, allocations: 1.27 MB / 3.742 GB, free: 10.99 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.476/10.97, allocations: 381.4 MB / 4.115 GB, free: 80.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/10.97, allocations: 3.844 kB / 4.115 GB, free: 80.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00499/10.98, allocations: 2.677 MB / 4.117 GB, free: 80.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002256/10.98, allocations: 404.7 kB / 4.118 GB, free: 80.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/10.98, allocations: 11.66 kB / 4.118 GB, free: 80.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/10.98, allocations: 0.5156 MB / 4.118 GB, free: 80.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/10.98, allocations: 369.3 kB / 4.119 GB, free: 80.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/10.98, allocations: 2.909 MB / 4.121 GB, free: 78.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/10.99, allocations: 211.6 kB / 4.122 GB, free: 78.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/10.99, allocations: 70.22 kB / 4.122 GB, free: 78.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/10.99, allocations: 3.938 kB / 4.122 GB, free: 78.31 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004383/10.99, allocations: 2.483 MB / 4.124 GB, free: 78.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/10.99, allocations: 11.53 kB / 4.124 GB, free: 78.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/10.99, allocations: 0.5098 MB / 4.125 GB, free: 78.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/10.99, allocations: 377.3 kB / 4.125 GB, free: 78.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/11, allocations: 2.904 MB / 4.128 GB, free: 76.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/11, allocations: 199.7 kB / 4.128 GB, free: 76.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/11, allocations: 79.03 kB / 4.128 GB, free: 76.14 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.001172/11, allocations: 0.5905 MB / 4.129 GB, free: 75.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/11, allocations: 147.9 kB / 4.129 GB, free: 75.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006785/11.01, allocations: 5.575 MB / 4.134 GB, free: 75.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.557e-05/11.01, allocations: 64.97 kB / 4.134 GB, free: 75.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/11.01, allocations: 0 / 4.134 GB, free: 75.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005579/11.01, allocations: 5.101 MB / 4.139 GB, free: 74.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/11.02, allocations: 8.612 MB / 4.148 GB, free: 73.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.295e-05/11.02, allocations: 1.219 kB / 4.148 GB, free: 73.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/11.02, allocations: 291.9 kB / 4.148 GB, free: 73.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/11.03, allocations: 0.5477 MB / 4.148 GB, free: 73.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/11.03, allocations: 49.36 kB / 4.149 GB, free: 73.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/11.03, allocations: 2.92 MB / 4.151 GB, free: 71.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/11.03, allocations: 5.312 kB / 4.151 GB, free: 71.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0072/11.04, allocations: 5.435 MB / 4.157 GB, free: 71.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/11.04, allocations: 0.534 MB / 4.157 GB, free: 71.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/11.04, allocations: 43.39 kB / 4.157 GB, free: 71.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/11.04, allocations: 159.4 kB / 4.157 GB, free: 71.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/11.04, allocations: 127.9 kB / 4.158 GB, free: 71.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.266e-05/11.04, allocations: 50.06 kB / 4.158 GB, free: 71.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001225/11.04, allocations: 0.9021 MB / 4.158 GB, free: 71.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/11.04, allocations: 0 / 4.158 GB, free: 71.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007665/11.05, allocations: 2.095 MB / 4.16 GB, free: 71.03 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.00956/11.06, allocations: 2.125 MB / 4.163 GB, free: 70.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006885/11.06, allocations: 3.842 MB / 4.166 GB, free: 70.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/11.06, allocations: 3.062 kB / 4.166 GB, free: 70.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002652/11.07, allocations: 1.828 MB / 4.168 GB, free: 70.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/11.07, allocations: 0.759 MB / 4.169 GB, free: 70.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007952/11.08, allocations: 6.32 MB / 4.175 GB, free: 68.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/11.08, allocations: 1.766 MB / 4.177 GB, free: 67.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003194/11.08, allocations: 1.947 MB / 4.179 GB, free: 67.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/11.08, allocations: 129.8 kB / 4.179 GB, free: 67.53 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/11.08, allocations: 4 kB / 4.179 GB, free: 67.53 MB / 490.7 MB Notification: Performance of Templates: time 0.09561/11.18, allocations: 69.77 MB / 4.247 GB, free: 31.57 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/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_Modelica.Fluid.Examples.NonCircularPipes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches