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.001537/0.001537, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.948/1.948, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001143/0.001143, allocations: 86.88 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 12 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3376, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.279/8.617, allocations: 2.796 GB / 3.162 GB, free: 75.36 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/8.617, allocations: 81.28 kB / 3.162 GB, free: 75.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.839/11.46, allocations: 0.5507 GB / 3.713 GB, free: 38.13 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.495e-06/11.46, allocations: 0 / 3.713 GB, free: 38.13 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000164/11.46, allocations: 55 kB / 3.713 GB, free: 38.12 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.01365/11.47, allocations: 2.99 MB / 3.716 GB, free: 36.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/11.47, allocations: 7.094 kB / 3.716 GB, free: 36.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006838/11.48, allocations: 0.6001 MB / 3.716 GB, free: 36.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005429/11.48, allocations: 1.439 MB / 3.718 GB, free: 36.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/11.48, allocations: 138.9 kB / 3.718 GB, free: 36.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004728/11.48, allocations: 149.2 kB / 3.718 GB, free: 36.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009659/11.49, allocations: 2.835 MB / 3.721 GB, free: 35.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.122e-05/11.49, allocations: 8.094 kB / 3.721 GB, free: 35.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003121/11.49, allocations: 74.52 kB / 3.721 GB, free: 35.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000227/11.49, allocations: 125.8 kB / 3.721 GB, free: 35.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/11.5, allocations: 2.649 MB / 3.724 GB, free: 35.72 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.0217/11.53, allocations: 11.71 MB / 3.735 GB, free: 28.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007346/11.53, allocations: 1.749 MB / 3.737 GB, free: 28.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02516/11.56, allocations: 8.305 MB / 3.745 GB, free: 23.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.365e-05/11.56, allocations: 46.8 kB / 3.745 GB, free: 23.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=114): time 3.597e-06/11.56, allocations: 0 / 3.745 GB, free: 23.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.03499/11.59, allocations: 7.457 MB / 3.752 GB, free: 22.65 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/11.59, allocations: 146.1 kB / 3.752 GB, free: 22.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/11.6, allocations: 1.069 MB / 3.753 GB, free: 22.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004138/11.6, allocations: 51.3 kB / 3.753 GB, free: 22.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005313/11.6, allocations: 0.6918 MB / 3.754 GB, free: 21.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005616/11.6, allocations: 460.4 kB / 3.754 GB, free: 21.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/11.6, allocations: 31.78 kB / 3.754 GB, free: 21.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/11.6, allocations: 377.4 kB / 3.755 GB, free: 21.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00295/11.6, allocations: 0.8898 MB / 3.756 GB, free: 21.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003173/11.6, allocations: 1.264 MB / 3.757 GB, free: 20.91 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 4.397/16, allocations: 379.4 MB / 4.127 GB, free: 31.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/16, allocations: 4 kB / 4.127 GB, free: 31.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.009825/16.01, allocations: 2.608 MB / 4.13 GB, free: 29.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008504/16.01, allocations: 4.01 MB / 4.134 GB, free: 25.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/16.01, allocations: 9.203 kB / 4.134 GB, free: 25.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003023/16.02, allocations: 0.5164 MB / 4.134 GB, free: 24.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002997/16.02, allocations: 378.2 kB / 4.135 GB, free: 24.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002967/16.02, allocations: 2.91 MB / 4.138 GB, free: 21.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/16.02, allocations: 207.9 kB / 4.138 GB, free: 21.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004245/16.03, allocations: 74.53 kB / 4.138 GB, free: 21.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/16.03, allocations: 5.719 kB / 4.138 GB, free: 21.45 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009137/16.03, allocations: 2.492 MB / 4.14 GB, free: 19.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/16.03, allocations: 9 kB / 4.14 GB, free: 19.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/16.04, allocations: 0.4886 MB / 4.141 GB, free: 19.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002928/16.04, allocations: 370.9 kB / 4.141 GB, free: 19.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/16.04, allocations: 2.908 MB / 4.144 GB, free: 16.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/16.05, allocations: 195.8 kB / 4.144 GB, free: 16.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002841/16.05, allocations: 72.61 kB / 4.144 GB, free: 16.1 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.001617/16.05, allocations: 0.5918 MB / 4.145 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004991/16.05, allocations: 147.5 kB / 4.145 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/16.06, allocations: 5.579 MB / 4.15 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.78e-05/16.06, allocations: 63.09 kB / 4.151 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/16.06, allocations: 0 / 4.151 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01067/16.07, allocations: 5.102 MB / 4.155 GB, free: 8.332 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3725/16.44, allocations: 8.622 MB / 4.164 GB, free: 82.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-05/16.44, allocations: 0.9375 kB / 4.164 GB, free: 82.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/16.45, allocations: 296.6 kB / 4.164 GB, free: 82.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003326/16.45, allocations: 0.5428 MB / 4.165 GB, free: 82.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00037/16.45, allocations: 50.14 kB / 4.165 GB, free: 82.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002824/16.45, allocations: 2.919 MB / 4.168 GB, free: 80.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/16.45, allocations: 5.281 kB / 4.168 GB, free: 80.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/16.47, allocations: 5.549 MB / 4.173 GB, free: 80.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/16.47, allocations: 0.5364 MB / 4.174 GB, free: 79.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005629/16.47, allocations: 36.28 kB / 4.174 GB, free: 79.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/16.47, allocations: 167.2 kB / 4.174 GB, free: 79.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000445/16.47, allocations: 126.9 kB / 4.174 GB, free: 79.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/16.47, allocations: 51.56 kB / 4.174 GB, free: 79.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002256/16.47, allocations: 0.9153 MB / 4.175 GB, free: 79.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.32e-07/16.47, allocations: 0 / 4.175 GB, free: 79.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01105/16.49, allocations: 2.182 MB / 4.177 GB, free: 79.77 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.01387/16.5, allocations: 2.233 MB / 4.179 GB, free: 79.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01198/16.51, allocations: 3.844 MB / 4.183 GB, free: 79.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/16.51, allocations: 3.438 kB / 4.183 GB, free: 79.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004821/16.52, allocations: 1.807 MB / 4.185 GB, free: 79.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006961/16.52, allocations: 0.7559 MB / 4.185 GB, free: 79.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/16.54, allocations: 6.461 MB / 4.192 GB, free: 77.26 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/16.54, allocations: 1.792 MB / 4.193 GB, free: 76.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009646/16.54, allocations: 142.6 kB / 4.194 GB, free: 76.52 MB / 490.7 MB Notification: Performance of SimCode: time 1.233e-06/16.54, allocations: 0 / 4.194 GB, free: 76.52 MB / 490.7 MB Notification: Performance of Templates: time 0.1471/16.69, allocations: 88.15 MB / 4.28 GB, free: 65.29 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