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.00227/0.00227, allocations: 178 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001798/0.001798, allocations: 92.22 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.169e-05/2.176e-05, allocations: 8 kB / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3247, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.158/8.483, allocations: 2.795 GB / 3.149 GB, free: 81.39 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/8.483, allocations: 69.5 kB / 3.149 GB, free: 81.39 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.952/11.44, allocations: 0.5441 GB / 3.693 GB, free: 38.38 MB / 443.1 MB Notification: Performance of FrontEnd: time 2.014e-06/11.44, allocations: 0 / 3.693 GB, free: 38.38 MB / 443.1 MB Notification: Performance of Transformations before backend: time 0.000208/11.44, allocations: 43.84 kB / 3.694 GB, free: 38.37 MB / 443.1 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.01313/11.45, allocations: 2.799 MB / 3.696 GB, free: 35.86 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/11.45, allocations: 8.031 kB / 3.696 GB, free: 35.85 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006705/11.46, allocations: 0.596 MB / 3.697 GB, free: 35.34 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005454/11.46, allocations: 1.437 MB / 3.698 GB, free: 33.88 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/11.46, allocations: 75.98 kB / 3.698 GB, free: 33.8 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000557/11.46, allocations: 87.91 kB / 3.698 GB, free: 33.72 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005283/11.47, allocations: 1.97 MB / 3.7 GB, free: 31.75 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007648/11.47, allocations: 2.17 MB / 3.702 GB, free: 29.41 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.277e-05/11.47, allocations: 11.89 kB / 3.702 GB, free: 29.4 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003333/11.48, allocations: 4 kB / 3.702 GB, free: 29.39 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002405/11.48, allocations: 126.6 kB / 3.703 GB, free: 29.27 MB / 443.1 MB Warning: The model contains alias variables with conflicting start and/or 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.6673/12.14, allocations: 82.91 MB / 3.784 GB, free: 20.21 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/12.15, allocations: 1.107 MB / 3.785 GB, free: 20.18 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/12.15, allocations: 0.7022 MB / 3.785 GB, free: 20.17 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03081/12.18, allocations: 8.328 MB / 3.793 GB, free: 14.83 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.617e-05/12.18, allocations: 49.69 kB / 3.793 GB, free: 14.79 MB / 459.1 MB Notification: Performance of pre-optimization done (n=108): time 3.807e-06/12.18, allocations: 0 / 3.793 GB, free: 14.79 MB / 459.1 MB Notification: Performance of matching and sorting (n=126): time 0.03/12.21, allocations: 5.042 MB / 3.798 GB, free: 14.24 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/12.21, allocations: 144.2 kB / 3.799 GB, free: 14.08 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003112/12.21, allocations: 0.7878 MB / 3.799 GB, free: 13.93 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007248/12.21, allocations: 31.27 kB / 3.799 GB, free: 13.9 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008198/12.21, allocations: 0.7426 MB / 3.8 GB, free: 13.54 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000698/12.21, allocations: 421.2 kB / 3.8 GB, free: 13.32 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/12.21, allocations: 0 / 3.8 GB, free: 13.32 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0002139/12.21, allocations: 373.6 kB / 3.801 GB, free: 13.01 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/12.22, allocations: 0.741 MB / 3.802 GB, free: 13.01 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/12.22, allocations: 1.114 MB / 3.803 GB, free: 12.6 MB / 459.1 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.04543/12.26, allocations: 5.609 MB / 3.808 GB, free: 12.29 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.1e-05/12.26, allocations: 0 / 3.808 GB, free: 12.29 MB / 459.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.03213/12.3, allocations: 4.154 MB / 3.812 GB, free: 12.11 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002522/12.3, allocations: 4.009 MB / 3.816 GB, free: 23.91 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.559e-05/12.3, allocations: 9.938 kB / 3.816 GB, free: 23.91 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002898/12.3, allocations: 499.8 kB / 3.817 GB, free: 23.87 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004535/12.31, allocations: 368.8 kB / 3.817 GB, free: 23.86 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/12.31, allocations: 2.959 MB / 3.82 GB, free: 21.77 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00431/12.32, allocations: 186.6 kB / 3.82 GB, free: 21.76 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006778/12.32, allocations: 76.94 kB / 3.82 GB, free: 21.76 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/12.32, allocations: 3.656 kB / 3.82 GB, free: 21.76 MB / 475.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02739/12.34, allocations: 3.953 MB / 3.824 GB, free: 21.64 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/12.34, allocations: 17.53 kB / 3.824 GB, free: 21.64 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002403/12.35, allocations: 465.3 kB / 3.824 GB, free: 21.6 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/12.35, allocations: 369.6 kB / 3.825 GB, free: 21.6 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/12.35, allocations: 2.957 MB / 3.828 GB, free: 19.51 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/12.36, allocations: 174.1 kB / 3.828 GB, free: 19.49 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/12.36, allocations: 76.16 kB / 3.828 GB, free: 19.49 MB / 475.1 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.circular_pipe.mediums[1].u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 11 (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,boundary.medium.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 () * 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.0006463/12.36, allocations: 149.2 kB / 3.828 GB, free: 19.38 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004627/12.36, allocations: 134.6 kB / 3.828 GB, free: 19.31 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008967/12.37, allocations: 4.79 MB / 3.833 GB, free: 18.89 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-05/12.37, allocations: 57.12 kB / 3.833 GB, free: 18.88 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/12.37, allocations: 0 / 3.833 GB, free: 18.88 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00758/12.37, allocations: 4.398 MB / 3.837 GB, free: 18.16 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/12.39, allocations: 7.539 MB / 3.845 GB, free: 17.27 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/12.39, allocations: 7.656 kB / 3.845 GB, free: 17.27 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002165/12.39, allocations: 261.3 kB / 3.845 GB, free: 17.27 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002595/12.4, allocations: 0.5166 MB / 3.845 GB, free: 17.22 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003039/12.4, allocations: 21.09 kB / 3.845 GB, free: 17.22 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003429/12.4, allocations: 3.04 MB / 3.848 GB, free: 15.12 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/12.4, allocations: 5.906 kB / 3.848 GB, free: 15.12 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/12.41, allocations: 4.83 MB / 3.853 GB, free: 14.5 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/12.41, allocations: 0.4938 MB / 3.853 GB, free: 14.28 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004121/12.41, allocations: 15.8 kB / 3.854 GB, free: 14.28 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002243/12.42, allocations: 145.9 kB / 3.854 GB, free: 14.26 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000383/12.42, allocations: 115.3 kB / 3.854 GB, free: 14.26 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/12.42, allocations: 49.42 kB / 3.854 GB, free: 14.26 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.001376/12.42, allocations: 0.6772 MB / 3.854 GB, free: 14.15 MB / 475.1 MB Notification: Performance of sort global known variables: time 6.21e-07/12.42, allocations: 5.469 kB / 3.854 GB, free: 14.15 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.01004/12.43, allocations: 2.083 MB / 3.856 GB, free: 14.05 MB / 475.1 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: 30 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.01307/12.44, allocations: 2.33 MB / 3.859 GB, free: 13.72 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.008563/12.45, allocations: 3.321 MB / 3.862 GB, free: 13.67 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/12.45, allocations: 3.75 kB / 3.862 GB, free: 13.67 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003941/12.45, allocations: 1.576 MB / 3.864 GB, free: 13.66 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00556/12.46, allocations: 0.584 MB / 3.864 GB, free: 13.62 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/12.47, allocations: 4.194 MB / 3.868 GB, free: 12.57 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001887/12.47, allocations: 1.751 MB / 3.87 GB, free: 11.82 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009321/12.47, allocations: 134.2 kB / 3.87 GB, free: 11.81 MB / 475.1 MB Notification: Performance of SimCode: time 1.233e-06/12.47, allocations: 1.75 kB / 3.87 GB, free: 11.81 MB / 475.1 MB Notification: Performance of Templates: time 0.5129/12.98, allocations: 85.27 MB / 3.953 GB, free: 64.2 MB / 475.1 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