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.0009816/0.0009817, allocations: 198.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009491/0.0009493, allocations: 94.2 kB / 286.7 MB, free: 5.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.674e-05/1.658e-05, allocations: 0 / 343.7 MB, free: 8.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1518, allocations: 51.48 MB / 395.2 MB, free: 4.789 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.557/8.709, allocations: 2.801 GB / 3.187 GB, free: 47.43 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/8.709, allocations: 72.53 kB / 3.187 GB, free: 47.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.441/11.15, allocations: 0.5497 GB / 3.737 GB, free: 13.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.09e-06/11.15, allocations: 4 kB / 3.737 GB, free: 13.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001586/11.15, allocations: 44 kB / 3.737 GB, free: 13.35 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.01715/11.17, allocations: 2.806 MB / 3.739 GB, free: 10.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.605e-05/11.17, allocations: 8.031 kB / 3.739 GB, free: 10.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005454/11.17, allocations: 0.6082 MB / 3.74 GB, free: 9.887 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004287/11.18, allocations: 1.437 MB / 3.741 GB, free: 8.426 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/11.18, allocations: 83.91 kB / 3.742 GB, free: 8.344 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/11.18, allocations: 84 kB / 3.742 GB, free: 8.262 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003538/11.18, allocations: 1.97 MB / 3.744 GB, free: 6.289 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/11.18, allocations: 2.171 MB / 3.746 GB, free: 3.953 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.837e-05/11.18, allocations: 7.922 kB / 3.746 GB, free: 3.945 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/11.18, allocations: 8 kB / 3.746 GB, free: 3.938 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001693/11.18, allocations: 130.6 kB / 3.746 GB, free: 3.809 MB / 474.7 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.6169/11.8, allocations: 91.02 MB / 3.835 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/11.8, allocations: 1.105 MB / 3.836 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008904/11.8, allocations: 0.7055 MB / 3.836 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01717/11.82, allocations: 9.03 MB / 3.845 GB, free: 19.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/11.82, allocations: 50.45 kB / 3.845 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=108): time 3.877e-06/11.82, allocations: 0 / 3.845 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126): time 0.01262/11.83, allocations: 5.046 MB / 3.85 GB, free: 19.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/11.83, allocations: 145.5 kB / 3.85 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/11.84, allocations: 0.7863 MB / 3.851 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/11.84, allocations: 29.7 kB / 3.851 GB, free: 18.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/11.84, allocations: 0.7371 MB / 3.852 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003286/11.84, allocations: 424.3 kB / 3.852 GB, free: 18.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.93e-05/11.84, allocations: 0 / 3.852 GB, free: 18.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001755/11.84, allocations: 364.3 kB / 3.853 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000941/11.84, allocations: 0.746 MB / 3.853 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/11.84, allocations: 1.115 MB / 3.854 GB, free: 17.62 MB / 0.5105 GB 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.01192/11.85, allocations: 4.43 MB / 3.859 GB, free: 17.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/11.85, allocations: 2.125 kB / 3.859 GB, free: 17.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007828/11.86, allocations: 2.988 MB / 3.862 GB, free: 17.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002631/11.86, allocations: 4.013 MB / 3.866 GB, free: 28.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/11.86, allocations: 13.06 kB / 3.866 GB, free: 28.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/11.86, allocations: 493.2 kB / 3.866 GB, free: 28.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/11.86, allocations: 378.4 kB / 3.866 GB, free: 28.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/11.87, allocations: 2.953 MB / 3.869 GB, free: 26.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/11.87, allocations: 186.6 kB / 3.87 GB, free: 26.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/11.87, allocations: 77.44 kB / 3.87 GB, free: 26.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/11.87, allocations: 3.312 kB / 3.87 GB, free: 26.79 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006277/11.88, allocations: 2.736 MB / 3.872 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/11.88, allocations: 14.98 kB / 3.872 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/11.88, allocations: 496.1 kB / 3.873 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/11.88, allocations: 372 kB / 3.873 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/11.88, allocations: 2.955 MB / 3.876 GB, free: 24.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/11.88, allocations: 174.9 kB / 3.876 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/11.88, allocations: 72.88 kB / 3.876 GB, free: 24.55 MB / 0.5261 GB 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.00059/11.88, allocations: 169.6 kB / 3.876 GB, free: 24.44 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/11.88, allocations: 122.7 kB / 3.877 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005775/11.89, allocations: 4.784 MB / 3.881 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.325e-05/11.89, allocations: 54.5 kB / 3.881 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/11.89, allocations: 2.062 kB / 3.881 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004512/11.89, allocations: 4.412 MB / 3.886 GB, free: 23.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/11.9, allocations: 7.527 MB / 3.893 GB, free: 22.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/11.9, allocations: 2.344 kB / 3.893 GB, free: 22.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009915/11.91, allocations: 263.4 kB / 3.893 GB, free: 22.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/11.91, allocations: 0.5164 MB / 3.894 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.721e-05/11.91, allocations: 22.66 kB / 3.894 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/11.91, allocations: 3.05 MB / 3.897 GB, free: 20.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/11.91, allocations: 3.312 kB / 3.897 GB, free: 20.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0064/11.92, allocations: 4.828 MB / 3.901 GB, free: 19.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/11.92, allocations: 0.4993 MB / 3.902 GB, free: 19.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/11.92, allocations: 13.95 kB / 3.902 GB, free: 19.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/11.92, allocations: 131.8 kB / 3.902 GB, free: 19.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/11.92, allocations: 124.6 kB / 3.902 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-05/11.92, allocations: 50.44 kB / 3.902 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009521/11.92, allocations: 0.6867 MB / 3.903 GB, free: 19.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/11.92, allocations: 2.297 kB / 3.903 GB, free: 19.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009422/11.93, allocations: 2.099 MB / 3.905 GB, free: 19.14 MB / 0.5261 GB 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.0149/11.94, allocations: 2.357 MB / 3.907 GB, free: 18.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007837/11.95, allocations: 3.354 MB / 3.91 GB, free: 18.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/11.95, allocations: 0 / 3.91 GB, free: 18.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002813/11.96, allocations: 1.595 MB / 3.912 GB, free: 18.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003691/11.96, allocations: 0.5701 MB / 3.913 GB, free: 18.72 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007373/11.97, allocations: 4.147 MB / 3.917 GB, free: 17.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/11.97, allocations: 1.778 MB / 3.918 GB, free: 16.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0036/11.97, allocations: 2.094 MB / 3.92 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/11.97, allocations: 112 kB / 3.921 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/11.97, allocations: 0 / 3.921 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of Templates: time 0.4634/12.43, allocations: 59.63 MB / 3.979 GB, free: 97.8 MB / 0.5261 GB 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